lemon/bits/path_dump.h
changeset 937 17e36e175725
parent 529 f5bc148f7e1f
parent 889 1aa7eba26af5
child 927 d303bfa8b1ed
     1.1 --- a/lemon/bits/path_dump.h	Tue Nov 01 08:24:30 2011 +0100
     1.2 +++ b/lemon/bits/path_dump.h	Tue Dec 20 17:35:45 2011 +0100
     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 {