From c2e877bbc91df29185fbf3a81b4a76f014a7cfb3 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 11 Apr 2014 01:12:17 +0200 Subject: A micro-fix. --- planning/planning.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'planning/planning.cpp') 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); -- cgit v1.2.3