... | ... |
@@ -236,9 +236,11 @@ |
236 | 236 |
if(!_dist) { |
237 | 237 |
_local_dist = true; |
238 | 238 |
_dist = Traits::createDistMap(*_gr); |
239 | 239 |
} |
240 |
_mask |
|
240 |
if(!_mask) { |
|
241 |
_mask = new MaskMap(*_gr); |
|
242 |
} |
|
241 | 243 |
} |
242 | 244 |
|
243 | 245 |
public : |
244 | 246 |
|
... | ... |
@@ -403,8 +405,12 @@ |
403 | 405 |
for (NodeIt it(*_gr); it != INVALID; ++it) { |
404 | 406 |
_process.push_back(it); |
405 | 407 |
_mask->set(it, true); |
406 | 408 |
} |
409 |
} else { |
|
410 |
for (NodeIt it(*_gr); it != INVALID; ++it) { |
|
411 |
_mask->set(it, false); |
|
412 |
} |
|
407 | 413 |
} |
408 | 414 |
} |
409 | 415 |
|
410 | 416 |
/// \brief Adds a new source node. |
0 comments (0 inline)