Fix PredMatrixMapPath::empty() (#366)
authorBalazs Dezso <deba@inf.elte.hu>
Mon, 12 Apr 2010 13:59:41 +0200
changeset 8891aa7eba26af5
parent 888 1f2a734581f8
child 890 e26ad33d1fbc
child 893 bb871cb8ac06
Fix PredMatrixMapPath::empty() (#366)
lemon/bits/path_dump.h
     1.1 --- a/lemon/bits/path_dump.h	Sun Apr 11 22:28:42 2010 +0200
     1.2 +++ b/lemon/bits/path_dump.h	Mon Apr 12 13:59:41 2010 +0200
     1.3 @@ -120,7 +120,7 @@
     1.4      }
     1.5  
     1.6      bool empty() const {
     1.7 -      return source != target;
     1.8 +      return predMatrixMap(source, target) == INVALID;
     1.9      }
    1.10  
    1.11      class RevArcIt {