[Lemon-commits] [lemon_svn] alpar: r1478 - hugo/trunk/src/lemon
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:45:45 CET 2006
Author: alpar
Date: Sun Jan 16 23:27:34 2005
New Revision: 1478
Modified:
hugo/trunk/src/lemon/smart_graph.h
Log:
findEdge bugfix.
Modified: hugo/trunk/src/lemon/smart_graph.h
==============================================================================
--- hugo/trunk/src/lemon/smart_graph.h (original)
+++ hugo/trunk/src/lemon/smart_graph.h Sun Jan 16 23:27:34 2005
@@ -213,7 +213,7 @@
Edge _findEdge(Node u,Node v, Edge prev = INVALID)
{
int e = (prev.n==-1)? nodes[u.n].first_out : edges[prev.n].next_out;
- while(e!=-1 && edges[e].source!=v.n) e = edges[e].next_out;
+ while(e!=-1 && edges[e].target!=v.n) e = edges[e].next_out;
prev.n=e;
return prev;
}
More information about the Lemon-commits
mailing list