We must run kruskal on the filtered graph to ignore the infinite vertex

This commit is contained in:
Andreas Fabri
2014-11-24 16:55:59 +01:00
committed by Laurent Rineau
parent a096cdf431
commit b281d86414
+1 -1
View File
@@ -75,7 +75,7 @@ main(int,char*[])
// In the function call you can see a named parameter: vertex_index_map
std::list<edge_descriptor> mst;
boost::kruskal_minimum_spanning_tree(t,
boost::kruskal_minimum_spanning_tree(ft,
std::back_inserter(mst),
vertex_index_map(vertex_index_pmap));