We must run kruskal on the filtered graph to ignore the infinite vertex
This commit is contained in:
committed by
Laurent Rineau
parent
a096cdf431
commit
b281d86414
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user