2
0
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:
Jeremy Siek
2001-01-25 21:18:49 +00:00
parent 4ab7a58de0
commit 5d6cec7c5d

View File

@@ -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);