author | Alpar Juttner <alpar@cs.elte.hu> |
Mon, 12 Apr 2010 17:00:05 +0200 | |
branch | 1.2 |
changeset 890 | e26ad33d1fbc |
parent 887 | 77704bf2a4ae |
parent 889 | 1aa7eba26af5 |
child 892 | cbf32bf95954 |
1.1 --- a/lemon/bits/path_dump.h Tue Apr 06 06:52:48 2010 +0200 1.2 +++ b/lemon/bits/path_dump.h Mon Apr 12 17:00:05 2010 +0200 1.3 @@ -49,7 +49,7 @@ 1.4 } 1.5 1.6 bool empty() const { 1.7 - return predMap[target] != INVALID; 1.8 + return predMap[target] == INVALID; 1.9 } 1.10 1.11 class RevArcIt { 1.12 @@ -123,7 +123,7 @@ 1.13 } 1.14 1.15 bool empty() const { 1.16 - return source != target; 1.17 + return predMatrixMap(source, target) == INVALID; 1.18 } 1.19 1.20 class RevArcIt {