[Lemon-commits] Gabor Retvari: Fix PredMapPath::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/1f2a734581f8
changeset: 970:1f2a734581f8
user: Gabor Retvari <retvari [at] tmit.bme.hu>
date: Sun Apr 11 22:28:42 2010 +0200
description:
Fix PredMapPath::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
@@ -46,7 +46,7 @@
}
bool empty() const {
- return predMap[target] != INVALID;
+ return predMap[target] == INVALID;
}
class RevArcIt {
More information about the Lemon-commits
mailing list