aboutsummaryrefslogtreecommitdiffstats
path: root/planning/planning.cpp
diff options
context:
space:
mode:
authorSteinar H. Gunderson <sgunderson@bigfoot.com>2014-04-11 21:12:49 +0200
committerSteinar H. Gunderson <sgunderson@bigfoot.com>2014-04-11 21:12:49 +0200
commit14329321c1850af613b6e4d25db9bf616b107e04 (patch)
tree24cb554f36b83c3af3b927ae3679d680f3678800 /planning/planning.cpp
parent4f2251a3faeff1e23838a4c0e994c4708346e97e (diff)
More consistent distro numbering.
Diffstat (limited to 'planning/planning.cpp')
-rw-r--r--planning/planning.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/planning/planning.cpp b/planning/planning.cpp
index 06b839c..dd22620 100644
--- a/planning/planning.cpp
+++ b/planning/planning.cpp
@@ -682,7 +682,7 @@ int Planner::do_work(int distro_placements[NUM_DISTRO])
for (int i = 0; i < NUM_DISTRO; ++i) {
Edge *e = g.source_node.edges[i];
- logprintf("Remaining ports on distro %d: %d\n", i + 1, e->capacity - e->flow);
+ logprintf("Remaining ports on distro %d: %d\n", i, e->capacity - e->flow);
}
return total_cost;
}