Bugfix: using read-write map instead reference map
authordeba
Sun, 25 Nov 2007 22:56:44 +0000
changeset 252105c0ba99cc27
parent 2520 6148e83636b9
child 2522 616c019215c4
Bugfix: using read-write map instead reference map
lemon/elevator.h
     1.1 --- a/lemon/elevator.h	Wed Nov 21 18:19:20 2007 +0000
     1.2 +++ b/lemon/elevator.h	Sun Nov 25 22:56:44 2007 +0000
     1.3 @@ -905,7 +905,7 @@
     1.4      ///level is forbidden in the push-relabel algorithms. The node
     1.5      ///should be lifted previously to the top level.
     1.6      void markToBottom(Item i) {
     1.7 -      _level[i] = _max_level - 1;
     1.8 +      _level.set(i, _max_level - 1);
     1.9      }
    1.10  
    1.11      ///Lift all nodes on and above a level to the top (and deactivate them).