Corrected an error (dicussed with marci)
authorathos
Fri, 04 Mar 2005 15:24:07 +0000
changeset 1184aad134c6c9c5
parent 1183 8f623d1833a7
child 1185 22bb02339808
Corrected an error (dicussed with marci)
src/lemon/list_graph.h
     1.1 --- a/src/lemon/list_graph.h	Thu Mar 03 17:20:08 2005 +0000
     1.2 +++ b/src/lemon/list_graph.h	Fri Mar 04 15:24:07 2005 +0000
     1.3 @@ -377,14 +377,14 @@
     1.4  	OutEdgeIt f=e;
     1.5  	++f;
     1.6  	if(r && target(e)==a) erase(e);
     1.7 -	else moveSource(e,b);
     1.8 +	else moveSource(e,a);
     1.9  	e=f;
    1.10        }
    1.11        for(InEdgeIt e(*this,b);e!=INVALID;) {
    1.12  	InEdgeIt f=e;
    1.13  	++f;
    1.14  	if(r && source(e)==a) erase(e);
    1.15 -	else moveTarget(e,b);
    1.16 +	else moveTarget(e,a);
    1.17  	e=f;
    1.18        }
    1.19        erase(b);