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 {