diff options
author | Steinar H. Gunderson <sgunderson@bigfoot.com> | 2014-04-11 01:12:17 +0200 |
---|---|---|
committer | Steinar H. Gunderson <sgunderson@bigfoot.com> | 2014-04-11 01:12:17 +0200 |
commit | c2e877bbc91df29185fbf3a81b4a76f014a7cfb3 (patch) | |
tree | bcfdb10ecd023ec9ef8a393cb6e94c3564b3cbed | |
parent | 18b956b3c0a29c5fd67e6ec21997255effd89c21 (diff) |
A micro-fix.
-rw-r--r-- | planning/planning.cpp | 2 |
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); |