lemon/smart_graph.h
changeset 388 2d87dbd7f8c8
parent 384 164fe3abc024
parent 386 5a3d689ea770
child 463 88ed40ad0d4f
     1.1 --- a/lemon/smart_graph.h	Fri Nov 07 13:04:54 2008 +0000
     1.2 +++ b/lemon/smart_graph.h	Fri Nov 07 13:14:22 2008 +0000
     1.3 @@ -737,8 +737,8 @@
     1.4          dir.push_back(arcFromId(n));
     1.5          dir.push_back(arcFromId(n-1));
     1.6          Parent::notifier(Arc()).erase(dir);
     1.7 -        nodes[arcs[n].target].first_out=arcs[n].next_out;
     1.8 -        nodes[arcs[n-1].target].first_out=arcs[n-1].next_out;
     1.9 +        nodes[arcs[n-1].target].first_out=arcs[n].next_out;
    1.10 +        nodes[arcs[n].target].first_out=arcs[n-1].next_out;
    1.11          arcs.pop_back();
    1.12          arcs.pop_back();
    1.13        }