[Lemon-commits] [lemon_svn] deba: r2723 - hugo/trunk/lemon

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:54:45 CET 2006


Author: deba
Date: Tue Apr 25 16:48:50 2006
New Revision: 2723

Modified:
   hugo/trunk/lemon/graph_utils.h

Log:
Bug fix in findUEdge




Modified: hugo/trunk/lemon/graph_utils.h
==============================================================================
--- hugo/trunk/lemon/graph_utils.h	(original)
+++ hugo/trunk/lemon/graph_utils.h	Tue Apr 25 16:48:50 2006
@@ -444,7 +444,7 @@
             b = g.source(e) == u;
             g.nextInc(e, b);
           }
-          while (e != INVALID && g.target(e) != v) {
+          while (e != INVALID && (b ? g.target(e) : g.source(e)) != v) {
             g.nextInc(e, b);
           }
         } else {



More information about the Lemon-commits mailing list