diff --git a/include/boost/graph/detail/adjacency_list.hpp b/include/boost/graph/detail/adjacency_list.hpp index 5c243255..ba34fa68 100644 --- a/include/boost/graph/detail/adjacency_list.hpp +++ b/include/boost/graph/detail/adjacency_list.hpp @@ -840,8 +840,6 @@ namespace boost { typedef typename Config::graph_type graph_type; graph_type& g = static_cast(g_); - assert( u != v ); // don't allow self-loops - bool inserted; typename Config::EdgeContainer::value_type e(u, v, p); g.m_edges.push_back(e);