author | Alpar Juttner <alpar@cs.elte.hu> |
Mon, 12 Apr 2010 17:05:49 +0200 | |
changeset 975 | ca4059d63236 |
parent 969 | 6dd226d3dcba |
parent 971 | 1aa7eba26af5 |
child 979 | 0bca98cbebbb |
1.1 --- a/lemon/bits/path_dump.h Tue Apr 06 07:04:38 2010 +0200 1.2 +++ b/lemon/bits/path_dump.h Mon Apr 12 17:05:49 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 {