# HG changeset patch # User deba # Date 1131540899 0 # Node ID cb405cda0205f3afef51d27afc2b321ecb06bf05 # Parent dca4c8a54e0a266ad5479247ceb22fd36bc51057 Bug fix. diff -r dca4c8a54e0a -r cb405cda0205 lemon/belmann_ford.h --- a/lemon/belmann_ford.h Wed Nov 09 12:07:00 2005 +0000 +++ b/lemon/belmann_ford.h Wed Nov 09 12:54:59 2005 +0000 @@ -399,6 +399,7 @@ if (OperationTraits::less(value, OperationTraits::infinity())) { for (NodeIt it(*graph); it != INVALID; ++it) { _process.push_back(it); + _mask.set(it, true); } } } @@ -475,9 +476,6 @@ } } } - for (int i = 0; i < (int)nextProcess.size(); ++i) { - _mask->set(nextProcess[i], false); - } _process.swap(nextProcess); return _process.empty(); }