[Lemon-commits] deba: r3398 - lemon/trunk/lemon
Lemon SVN
svn at lemon.cs.elte.hu
Sun Nov 25 23:56:45 CET 2007
Author: deba
Date: Sun Nov 25 23:56:44 2007
New Revision: 3398
Modified:
lemon/trunk/lemon/elevator.h
Log:
Bugfix: using read-write map instead reference map
Modified: lemon/trunk/lemon/elevator.h
==============================================================================
--- lemon/trunk/lemon/elevator.h (original)
+++ lemon/trunk/lemon/elevator.h Sun Nov 25 23:56:44 2007
@@ -905,7 +905,7 @@
///level is forbidden in the push-relabel algorithms. The node
///should be lifted previously to the top level.
void markToBottom(Item i) {
- _level[i] = _max_level - 1;
+ _level.set(i, _max_level - 1);
}
///Lift all nodes on and above a level to the top (and deactivate them).
More information about the Lemon-commits
mailing list