# HG changeset patch # User kpeter # Date 1198103008 0 # Node ID 5143b01bf1d5030fae84732774b939b73caaada7 # Parent a0443c41122030219eb0fbb564081496e145e45b Bug fix (Circulation interface changed). diff -r a0443c411220 -r 5143b01bf1d5 lemon/cycle_canceling.h --- a/lemon/cycle_canceling.h Wed Dec 19 09:16:22 2007 +0000 +++ b/lemon/cycle_canceling.h Wed Dec 19 22:23:28 2007 +0000 @@ -325,10 +325,10 @@ // Finding a feasible flow Circulation< Graph, ConstMap, CapacityRefMap, SupplyMap > - circulation( graph, constMap((Capacity)0), capacity, + circulation( graph, constMap((Capacity)0), capacity, supply ); circulation.flowMap(flow); - return circulation.run() == -1; + return circulation.run(); } #ifdef LIMITED_CYCLE_CANCELING