COIN-OR::LEMON - Graph Library

Changeset 1082:e9eae612f01c in lemon-0.x


Ignore:
Timestamp:
01/16/05 23:27:34 (15 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1478
Message:

findEdge bugfix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/smart_graph.h

    r1080 r1082  
    214214    {
    215215      int e = (prev.n==-1)? nodes[u.n].first_out : edges[prev.n].next_out;
    216       while(e!=-1 && edges[e].source!=v.n) e = edges[e].next_out;
     216      while(e!=-1 && edges[e].target!=v.n) e = edges[e].next_out;
    217217      prev.n=e;
    218218      return prev;
Note: See TracChangeset for help on using the changeset viewer.