[Lemon-commits] Balazs Dezso: Fix PredMatrixMapPath::empty() (#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/1aa7eba26af5
changeset: 971:1aa7eba26af5
user: Balazs Dezso <deba [at] inf.elte.hu>
date: Mon Apr 12 13:59:41 2010 +0200
description:
Fix PredMatrixMapPath::empty() (#366)
diffstat:
lemon/bits/path_dump.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 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
@@ -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