mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
Cyclic redundancy: change DFS termination condition into successors of cyclic vertex
This commit is contained in:
@@ -205,7 +205,7 @@ bool removeCyclicPathRedundancy(Graph &g, typename Graph::vertex_descriptor v,
|
||||
|
||||
DEBUG_PRINTF(" - checking w %zu\n", g[w].index);
|
||||
|
||||
if (!searchForward(g, reach, colours, s, w)) {
|
||||
if (!searchForward(g, reach, colours, succ_v, w)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user