Fix PredMatrixMapPath::empty() (#366)
authorBalazs Dezso <deba@inf.elte.hu>
Mon, 12 Apr 2010 13:59:41 +0200
changeset 9711aa7eba26af5
parent 970 1f2a734581f8
child 972 7faa990932a3
child 973 290f3ca599d6
child 974 e26ad33d1fbc
child 975 ca4059d63236
child 980 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 {