diff --git a/include/boost/graph/strong_components.hpp b/include/boost/graph/strong_components.hpp index 61345bdc..f1bd56d6 100644 --- a/include/boost/graph/strong_components.hpp +++ b/include/boost/graph/strong_components.hpp @@ -64,6 +64,7 @@ namespace boost { do { w = s.top(); s.pop(); put(comp, w, c); + put(root, w, v); } while (w != v); ++c; }