COIN-OR::LEMON - Graph Library

Changeset 2339:c329fe995b40 in lemon-0.x


Ignore:
Timestamp:
01/11/07 22:20:57 (13 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3131
Message:

Bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/smart_graph.h

    r2338 r2339  
    493493    void firstIn(Edge &edge, const Node& v) const {
    494494      edge.id = ((nodes[v.id].first_out) ^ 1);
    495       if (e.id == -2) e.id = -1;
     495      if (edge.id == -2) edge.id = -1;
    496496    }
    497497    void nextIn(Edge &edge) const {
    498498      edge.id = ((edges[edge.id ^ 1].next_out) ^ 1);
    499       if (e.id == -2) e.id = -1;
     499      if (edge.id == -2) edge.id = -1;
    500500    }
    501501
Note: See TracChangeset for help on using the changeset viewer.