Bug fix in findUEdge
authordeba
Tue, 25 Apr 2006 14:48:50 +0000
changeset 20642c5f81b35269
parent 2063 9535436aaa9f
child 2065 780e27579198
Bug fix in findUEdge
lemon/graph_utils.h
     1.1 --- a/lemon/graph_utils.h	Tue Apr 18 22:59:33 2006 +0000
     1.2 +++ b/lemon/graph_utils.h	Tue Apr 25 14:48:50 2006 +0000
     1.3 @@ -444,7 +444,7 @@
     1.4              b = g.source(e) == u;
     1.5              g.nextInc(e, b);
     1.6            }
     1.7 -          while (e != INVALID && g.target(e) != v) {
     1.8 +          while (e != INVALID && (b ? g.target(e) : g.source(e)) != v) {
     1.9              g.nextInc(e, b);
    1.10            }
    1.11          } else {