COIN-OR::LEMON - Graph Library

Changeset 367:aa75d24ba7d0 in lemon for lemon/full_graph.h


Ignore:
Timestamp:
11/03/08 22:30:21 (16 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Bug fix in FullDigraphBase::findArc()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/full_graph.h

    r366 r367  
    7676
    7777    Arc findArc(Node s, Node t, Arc prev = INVALID) const {
    78       return prev != INVALID ? arc(s, t) : INVALID;
     78      return prev == INVALID ? arc(s, t) : INVALID;
    7979    }
    8080
Note: See TracChangeset for help on using the changeset viewer.