Bug fix
authordeba
Thu, 11 Jan 2007 21:20:57 +0000
changeset 2339c329fe995b40
parent 2338 359f0b71919b
child 2340 03c71d754990
Bug fix
lemon/smart_graph.h
     1.1 --- a/lemon/smart_graph.h	Thu Jan 11 21:06:47 2007 +0000
     1.2 +++ b/lemon/smart_graph.h	Thu Jan 11 21:20:57 2007 +0000
     1.3 @@ -492,11 +492,11 @@
     1.4  
     1.5      void firstIn(Edge &edge, const Node& v) const {
     1.6        edge.id = ((nodes[v.id].first_out) ^ 1);
     1.7 -      if (e.id == -2) e.id = -1;
     1.8 +      if (edge.id == -2) edge.id = -1;
     1.9      }
    1.10      void nextIn(Edge &edge) const {
    1.11        edge.id = ((edges[edge.id ^ 1].next_out) ^ 1);
    1.12 -      if (e.id == -2) e.id = -1;
    1.13 +      if (edge.id == -2) edge.id = -1;
    1.14      }
    1.15  
    1.16      void firstInc(UEdge &edge, bool& d, const Node& v) const {