Bug fix in FullDigraphBase::findArc()
authorPeter Kovacs <kpeter@inf.elte.hu>
Mon, 03 Nov 2008 22:30:21 +0100
changeset 355aa75d24ba7d0
parent 354 80a4d0742e98
child 356 99f1bdf8f7db
Bug fix in FullDigraphBase::findArc()
lemon/full_graph.h
     1.1 --- a/lemon/full_graph.h	Sat Nov 01 19:22:18 2008 +0100
     1.2 +++ b/lemon/full_graph.h	Mon Nov 03 22:30:21 2008 +0100
     1.3 @@ -75,7 +75,7 @@
     1.4      typedef True FindArcTag;
     1.5  
     1.6      Arc findArc(Node s, Node t, Arc prev = INVALID) const {
     1.7 -      return prev != INVALID ? arc(s, t) : INVALID;
     1.8 +      return prev == INVALID ? arc(s, t) : INVALID;
     1.9      }
    1.10  
    1.11      class Node {