Skip to content
Snippets Groups Projects
Commit 6b8ad227 authored by Kilian Verhetsel's avatar Kilian Verhetsel
Browse files

Fixed the vertex being selected not being invalidated when assigning a

value to a clique
parent 4a8dec61
No related branches found
No related tags found
No related merge requests found
...@@ -528,6 +528,8 @@ public: ...@@ -528,6 +528,8 @@ public:
selected_vertex.push_back(_vertex); selected_vertex.push_back(_vertex);
new_weight += get(state.weight_map, _vertex); new_weight += get(state.weight_map, _vertex);
removed.push_back(_vertex);
std::pair<out_edge_iterator, out_edge_iterator> edges = std::pair<out_edge_iterator, out_edge_iterator> edges =
out_edges(_vertex, state.graph); out_edges(_vertex, state.graph);
for (out_edge_iterator eit = edges.first; eit != edges.second; eit++) { for (out_edge_iterator eit = edges.first; eit != edges.second; eit++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment