[Lemon-commits] Alpar Juttner: Merge bugfix #366 to branch 1.0

Lemon HG hg at lemon.cs.elte.hu
Mon Apr 12 17:10:15 CEST 2010


details:   http://lemon.cs.elte.hu/hg/lemon/rev/7faa990932a3
changeset: 972:7faa990932a3
user:      Alpar Juttner <alpar [at] cs.elte.hu>
date:      Mon Apr 12 16:49:51 2010 +0200
description:
	Merge bugfix #366 to branch 1.0

diffstat:

 lemon/bits/path_dump.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff --git a/lemon/bits/path_dump.h b/lemon/bits/path_dump.h
--- a/lemon/bits/path_dump.h
+++ b/lemon/bits/path_dump.h
@@ -46,7 +46,7 @@
     }
 
     bool empty() const {
-      return predMap[target] != INVALID;
+      return predMap[target] == INVALID;
     }
 
     class RevArcIt {
@@ -120,7 +120,7 @@
     }
 
     bool empty() const {
-      return source != target;
+      return predMatrixMap(source, target) == INVALID;
     }
 
     class RevArcIt {



More information about the Lemon-commits mailing list