mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
Cyclic redundancy: change DFS termination condition into successors of cyclic vertex
This commit is contained in:
parent
17de350599
commit
6f6e2744df
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user