... | ... |
@@ -46,7 +46,7 @@ |
46 | 46 |
} |
47 | 47 |
|
48 | 48 |
bool empty() const { |
49 |
return predMap[target] |
|
49 |
return predMap[target] == INVALID; |
|
50 | 50 |
} |
51 | 51 |
|
52 | 52 |
class RevArcIt { |
... | ... |
@@ -120,7 +120,7 @@ |
120 | 120 |
} |
121 | 121 |
|
122 | 122 |
bool empty() const { |
123 |
return source |
|
123 |
return predMatrixMap(source, target) == INVALID; |
|
124 | 124 |
} |
125 | 125 |
|
126 | 126 |
class RevArcIt { |
0 comments (0 inline)