Commit 6092cdaf authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix bug with removing last vertex when fast == True

This fixes issue #305
parent 8dad6746
Pipeline #186 passed with stage
in 1862 minutes and 8 seconds
......@@ -839,6 +839,12 @@ inline void remove_vertex_fast(Vertex v, adj_list<Vertex>& g)
rename_v(g._in_edges, g._out_edges,
[&](size_t idx) -> auto {return g._epos[idx].first;});
clear_vertex(v, g);
template <class Vertex>
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