mirror of
https://github.com/boostorg/graph.git
synced 2026-02-01 08:32:11 +00:00
changed order of tree edge and discover vertex
[SVN r8769]
This commit is contained in:
@@ -113,8 +113,8 @@ namespace boost {
|
||||
Vertex v = target(e, g);
|
||||
if (get(color, v) == white(c)) {
|
||||
put(color, v, gray(c));
|
||||
vis.discover_vertex(v, g);
|
||||
vis.tree_edge(e, g);
|
||||
vis.discover_vertex(v, g);
|
||||
Q.push(v);
|
||||
} else {
|
||||
vis.cycle_edge(e, g);
|
||||
|
||||
Reference in New Issue
Block a user