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 {