gravatar
retvari@tmit.bme.hu
retvari@tmit.bme.hu
Fix PredMapPath::empty() (#366)
0 1 0
default
1 file changed with 1 insertions and 1 deletions:
↑ Collapse diff ↑
Show white space 12 line context
... ...
@@ -43,13 +43,13 @@
43 43
        ++len;
44 44
      }
45 45
      return len;
46 46
    }
47 47

	
48 48
    bool empty() const {
49
      return predMap[target] != INVALID;
49
      return predMap[target] == INVALID;
50 50
    }
51 51

	
52 52
    class RevArcIt {
53 53
    public:
54 54
      RevArcIt() {}
55 55
      RevArcIt(Invalid) : path(0), current(INVALID) {}
0 comments (0 inline)