# HG changeset patch # User Alpar Juttner # Date 2010-04-12 16:49:51 # Node ID 7faa990932a335bd534ad82758c8271f31ac14e3 # Parent 5f99ba40aa869ea3ba526fdbbe91c668c212ccb9 # Parent 1aa7eba26af5b7d5d7962840670e1d73299ce7ee Merge bugfix #366 to branch 1.0 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 {