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

Fix partition constructor

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