aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--planning/planning.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/planning/planning.cpp b/planning/planning.cpp
index 72b53e4..f39e8e0 100644
--- a/planning/planning.cpp
+++ b/planning/planning.cpp
@@ -494,8 +494,8 @@ void Planner::print_switch(const Graph &g, int i)
}
int this_distance = find_distance(switches[i], distro);
- Inventory this_inv = find_inventory(switches[i], distro);
#if TRUNCATE_METRIC
+ Inventory this_inv = find_inventory(switches[i], distro);
logprintf("(%-5s) (%3.1f)", this_inv.to_string().c_str(), this_distance / 10.0);
#else
logprintf("(%3.1f)", this_distance / 10.0);