Commit 7c957a60 authored by Tiago Peixoto's avatar Tiago Peixoto

Fix graph copying

Edge indexes weren't properly copied.
parent dab78eee
......@@ -59,7 +59,7 @@ struct graph_copy
size_t t = index_map[src_vertex_index[target(*e, src)]];
typename graph_traits<GraphDst>::edge_descriptor new_e =
add_edge(vertex(s,dst), vertex(t,dst), dst).first;
dst_edge_index[new_e] = src_edge_index[new_e];
dst_edge_index[new_e] = src_edge_index[*e];
}
}
};
......
Markdown is supported
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