COIN-OR::LEMON - Graph Library

Changeset 355:aa75d24ba7d0 in lemon-1.2


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

    r354 r355  
    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.