mirror of
https://github.com/boostorg/graph.git
synced 2026-01-27 19:02:12 +00:00
removed the assertion about self edges
[SVN r15105]
This commit is contained in:
@@ -840,8 +840,6 @@ namespace boost {
|
||||
typedef typename Config::graph_type graph_type;
|
||||
graph_type& g = static_cast<graph_type&>(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);
|
||||
|
||||
Reference in New Issue
Block a user