Commit 07f568f7 authored by Tiago Peixoto's avatar Tiago Peixoto

Fix edge indexing bug in condensation_graph()

Edges were not properly indexed after graph generation.
parent 9c5e0b16
......@@ -74,4 +74,5 @@ void community_network(GraphInterface& gi, GraphInterface& cgi,
vertex_properties(), weight_properties(),
ecount_properties())
(community_property, weight, edge_count);
cgi.ReIndexEdges();
}
......@@ -73,7 +73,6 @@ struct get_community_network
for (typeof(comms.begin()) iter = comms.begin(); iter != comms.end();
++iter)
{
cvertex_t cs = comm_vertices[iter->first];
for (size_t i = 0; i < iter->second.size(); ++i)
{
......
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