Commit 42bffcd4 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix bug in predecessor_tree()

This fixes a bug where edges were left unindexed.
parent 169265f7
......@@ -30,4 +30,5 @@ void predecessor_graph(GraphInterface& gi, GraphInterface& gpi,
gi.GetVertexIndex(), ref(gpi.GetGraph()),
_2),
vertex_scalar_properties())(pred_map);
gpi.ReIndexEdges();
}
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