Bug fix.
1.1 --- a/lemon/belmann_ford.h Wed Nov 09 12:07:00 2005 +0000
1.2 +++ b/lemon/belmann_ford.h Wed Nov 09 12:54:59 2005 +0000
1.3 @@ -399,6 +399,7 @@
1.4 if (OperationTraits::less(value, OperationTraits::infinity())) {
1.5 for (NodeIt it(*graph); it != INVALID; ++it) {
1.6 _process.push_back(it);
1.7 + _mask.set(it, true);
1.8 }
1.9 }
1.10 }
1.11 @@ -475,9 +476,6 @@
1.12 }
1.13 }
1.14 }
1.15 - for (int i = 0; i < (int)nextProcess.size(); ++i) {
1.16 - _mask->set(nextProcess[i], false);
1.17 - }
1.18 _process.swap(nextProcess);
1.19 return _process.empty();
1.20 }