From 50f2130f18e86055892c870c14af5101feb568ff Mon Sep 17 00:00:00 2001 From: "Zancanaro; Carlo" Date: Wed, 21 Nov 2012 01:43:43 +1100 Subject: Implementation stuff. --- impl/Operator.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'impl') diff --git a/impl/Operator.hpp b/impl/Operator.hpp index 4a573b8..0b08866 100644 --- a/impl/Operator.hpp +++ b/impl/Operator.hpp @@ -153,8 +153,8 @@ struct MinCostFlow : public Operator { ends[i] = arcs[i].second; } - _solver.LoadNet(supplies.size(), supplies.size(), // max nodes/arcs - supplies.size(), supplies.size(), // current nodes/arcs + _solver.LoadNet(supplies.size(), arcs.size(), // max nodes/arcs + supplies.size(), arcs.size(), // current nodes/arcs NULL, NULL, // arcs have inf cap, zero cost (to begin) deficits, // deficits for each node starts, ends); // start/end of each edge -- cgit v1.2.3