author | jacint |
Mon, 21 Feb 2005 19:03:52 +0000 | |
changeset 1166 | db3d437560f3 |
parent 1165 | c5e56125959a |
child 1167 | ccbca6ba8b59 |
1.1 --- a/src/lemon/max_matching.h Mon Feb 21 18:51:11 2005 +0000 1.2 +++ b/src/lemon/max_matching.h Mon Feb 21 19:03:52 2005 +0000 1.3 @@ -167,7 +167,7 @@ 1.4 for(NodeIt v(g); v!=INVALID; ++v) { 1.5 UndirEdge e=map[v]; 1.6 if ( e!=INVALID ) 1.7 - g.source(e) == v ? _mate.set(v,g.target(e)) : _mate.set(v,g.source(e)); 1.8 + _mate.set(v,g.oppositeNode(v,e)); 1.9 } 1.10 } 1.11