COIN-OR::LEMON - Graph Library

Ticket #57: full_bugfix_595de3a81389.patch

File full_bugfix_595de3a81389.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 1225746783 -3600
    # Node ID 595de3a81389b0410da04c615b1c3292e33bd2d5
    # Parent  77c7868019b0164f7d30052ccdccb690a0b8bcad
    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 {