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

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/ca4059d63236
changeset: 975:ca4059d63236
user:      Alpar Juttner <alpar [at] cs.elte.hu>
date:      Mon Apr 12 17:05:49 2010 +0200
description:
	Merge bugfix #366

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
@@ -49,7 +49,7 @@
     }
 
     bool empty() const {
-      return predMap[target] != INVALID;
+      return predMap[target] == INVALID;
     }
 
     class RevArcIt {
@@ -123,7 +123,7 @@
     }
 
     bool empty() const {
-      return source != target;
+      return predMatrixMap(source, target) == INVALID;
     }
 
     class RevArcIt {



More information about the Lemon-commits mailing list