Index: subgraph.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/graph/subgraph.hpp,v retrieving revision 1.40 diff -u -r1.40 subgraph.hpp --- subgraph.hpp 15 Apr 2004 07:26:57 -0000 1.40 +++ subgraph.hpp 17 Jul 2004 08:57:23 -0000 @@ -186,7 +186,8 @@ { typename std::map::const_iterator i = m_local_vertex.find(u_global); - return std::make_pair((*i).second, i != m_local_vertex.end()); + bool valid = i != m_local_vertex.end(); + return std::make_pair((valid ? (*i).second : u_global), valid); } // Return the parent graph.