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 {