# HG changeset patch # User Peter Kovacs # Date 2008-11-03 22:30:21 # Node ID aa75d24ba7d085884a4f98a64cddfb7de1ab8925 # Parent 80a4d0742e985cb88650088846ddb8f0ab9f3534 Bug fix in FullDigraphBase::findArc() diff --git a/lemon/full_graph.h b/lemon/full_graph.h --- a/lemon/full_graph.h +++ b/lemon/full_graph.h @@ -75,7 +75,7 @@ typedef True FindArcTag; Arc findArc(Node s, Node t, Arc prev = INVALID) const { - return prev != INVALID ? arc(s, t) : INVALID; + return prev == INVALID ? arc(s, t) : INVALID; } class Node {