From d5efa4eac5e4e3e7524e655a708b9a6debf89953 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Wed, 17 Jan 2001 04:27:15 +0000 Subject: [PATCH] discovering vertex v now, not u [SVN r8623] --- include/boost/graph/breadth_first_search.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/graph/breadth_first_search.hpp b/include/boost/graph/breadth_first_search.hpp index 8bc04c62..e0ee3e66 100644 --- a/include/boost/graph/breadth_first_search.hpp +++ b/include/boost/graph/breadth_first_search.hpp @@ -112,7 +112,7 @@ namespace boost { Vertex v = target(e, g); if (get(color, v) == white(c)) { put(color, v, gray(c)); - vis.discover_vertex(u, g); + vis.discover_vertex(v, g); vis.tree_edge(e, g); Q.push(v); } else {