[Lemon-commits] deba: r3131 - hugo/trunk/lemon

Lemon SVN svn at lemon.cs.elte.hu
Thu Jan 11 22:20:58 CET 2007


Author: deba
Date: Thu Jan 11 22:20:57 2007
New Revision: 3131

Modified:
   hugo/trunk/lemon/smart_graph.h

Log:
Bug fix




Modified: hugo/trunk/lemon/smart_graph.h
==============================================================================
--- hugo/trunk/lemon/smart_graph.h	(original)
+++ hugo/trunk/lemon/smart_graph.h	Thu Jan 11 22:20:57 2007
@@ -492,11 +492,11 @@
 
     void firstIn(Edge &edge, const Node& v) const {
       edge.id = ((nodes[v.id].first_out) ^ 1);
-      if (e.id == -2) e.id = -1;
+      if (edge.id == -2) edge.id = -1;
     }
     void nextIn(Edge &edge) const {
       edge.id = ((edges[edge.id ^ 1].next_out) ^ 1);
-      if (e.id == -2) e.id = -1;
+      if (edge.id == -2) edge.id = -1;
     }
 
     void firstInc(UEdge &edge, bool& d, const Node& v) const {



More information about the Lemon-commits mailing list