[Lemon-commits] [lemon_svn] jacint: r1570 - hugo/trunk/src/lemon

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


Author: jacint
Date: Mon Feb 21 20:03:52 2005
New Revision: 1570

Modified:
   hugo/trunk/src/lemon/max_matching.h

Log:
one more minor change

Modified: hugo/trunk/src/lemon/max_matching.h
==============================================================================
--- hugo/trunk/src/lemon/max_matching.h	(original)
+++ hugo/trunk/src/lemon/max_matching.h	Mon Feb 21 20:03:52 2005
@@ -167,7 +167,7 @@
      for(NodeIt v(g); v!=INVALID; ++v) {
 	UndirEdge e=map[v];
 	if ( e!=INVALID )
-	  g.source(e) == v ? _mate.set(v,g.target(e)) : _mate.set(v,g.source(e)); 
+	  _mate.set(v,g.oppositeNode(v,e));
       } 
     } 
     



More information about the Lemon-commits mailing list