gravatar
deba@inf.elte.hu
deba@inf.elte.hu
Fix PredMatrixMapPath::empty() (#366)
0 1 0
default
1 file changed with 1 insertions and 1 deletions:
↑ Collapse diff ↑
Show white space 12 line context
... ...
@@ -117,13 +117,13 @@
117 117
        ++len;
118 118
      }
119 119
      return len;
120 120
    }
121 121

	
122 122
    bool empty() const {
123
      return source != target;
123
      return predMatrixMap(source, target) == INVALID;
124 124
    }
125 125

	
126 126
    class RevArcIt {
127 127
    public:
128 128
      RevArcIt() {}
129 129
      RevArcIt(Invalid) : path(0), current(INVALID) {}
0 comments (0 inline)