# HG changeset patch
# User deba
# Date 1168550457 0
# Node ID c329fe995b40838fe7a7182f3b60c7a0adf47df4
# Parent  359f0b71919bb03316881147f23bd5734b5eb37d
Bug fix

diff -r 359f0b71919b -r c329fe995b40 lemon/smart_graph.h
--- a/lemon/smart_graph.h	Thu Jan 11 21:06:47 2007 +0000
+++ b/lemon/smart_graph.h	Thu Jan 11 21:20:57 2007 +0000
@@ -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 {