[Lemon-commits] Peter Kovacs: Bug fix in FullDigraphBase::findArc()

Lemon HG hg at lemon.cs.elte.hu
Tue Nov 4 11:27:58 CET 2008


details:   http://lemon.cs.elte.hu/hg/lemon/rev/aa75d24ba7d0
changeset: 367:aa75d24ba7d0
user:      Peter Kovacs <kpeter [at] inf.elte.hu>
date:      Mon Nov 03 22:30:21 2008 +0100
description:
	Bug fix in FullDigraphBase::findArc()

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
lemon/full_graph.h |    2 +-

diffs (12 lines):

diff -r 80a4d0742e98 -r aa75d24ba7d0 lemon/full_graph.h
--- a/lemon/full_graph.h	Sat Nov 01 19:22:18 2008 +0100
+++ b/lemon/full_graph.h	Mon Nov 03 22:30:21 2008 +0100
@@ -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 {



More information about the Lemon-commits mailing list