2
0
mirror of https://github.com/boostorg/graph.git synced 2026-02-02 21:02:15 +00:00

Merge fix for #870 to release branch

[SVN r44892]
This commit is contained in:
Douglas Gregor
2008-04-29 18:35:03 +00:00
parent cf6006d528
commit 1533e730ae

View File

@@ -385,7 +385,7 @@ namespace boost {
if (*ui != *vi) {
for (tie(ci, ci_end) = vertices(g); ci != ci_end; ++ci)
put(color, *ci, Color::white());
if (! is_reachable(*ui, *vi, color))
if (! is_reachable(*ui, *vi, g, color))
return false;
}
return true;