diff --git a/include/boost/graph/subgraph.hpp b/include/boost/graph/subgraph.hpp index 7f8bd809e..53e003889 100644 --- a/include/boost/graph/subgraph.hpp +++ b/include/boost/graph/subgraph.hpp @@ -194,7 +194,7 @@ template < typename Graph > class subgraph m_children.back()->m_parent = this; for (; first != last; ++first) { - add_vertex(*first, *m_children.back()); + add_vertex(local_to_global(*first), *m_children.back()); } return *m_children.back(); }