COIN-OR::LEMON - Graph Library

Ticket #57: fulll_bugfix_49a8e07e5702.patch

File fulll_bugfix_49a8e07e5702.patch, 559 bytes (added by Peter Kovacs, 16 years ago)
  • lemon/full_graph.h

    # HG changeset patch
    # User Peter Kovacs <kpeter@inf.elte.hu>
    # Date 1225747821 -3600
    # Node ID 49a8e07e5702cc1959142f3b545b0c18f582e57c
    # Parent  80a4d0742e985cb88650088846ddb8f0ab9f3534
    Bug fix in FullDigraph
    
    diff --git a/lemon/full_graph.h b/lemon/full_graph.h
    a b  
    7575    typedef True FindArcTag;
    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
    8181    class Node {