Skip to content
Snippets Groups Projects
Commit 0054c30a authored by p-hamann's avatar p-hamann
Browse files

Fix partition constructor

parent 5f69b4f1
Branches
No related merge requests found
......@@ -4,9 +4,7 @@
partition::partition(graph& g) : graph_(g) {
// Assigns all nodes to none
for (unsigned int i = 0; i < g.num_nodes(); i++) {
node_assignments_[i] = none;
}
node_assignments_ = std::vector<partition::subgraph>(g.num_nodes(), none);
// Initializes node counting map
nodes_[sg_a] = 0;
......
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