Commit be3df2bc authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix bug in Graph.copy() for filtered graphs

parent d5e5cfa7
Pipeline #40 passed with stage
......@@ -145,8 +145,8 @@ struct copy_edge_property_dispatch
for (i = 0; i < N; ++i)
{
auto v = vertex(i, src);
// if (v == graph_traits<GraphSrc>::null_vertex())
// continue;
if (v == graph_traits<GraphSrc>::null_vertex())
continue;
for (auto e : out_edges_range(v, src))
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment