Skip to content

Commit

Permalink
[KaMinPar] Fix wrong node order in partition output
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSeemaier committed Oct 5, 2023
1 parent 0831aed commit 8c5be79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kaminpar-shm/graphutils/permutator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ Graph rearrange_by_degree_buckets(Context &ctx, Graph old_graph) {
Graph new_graph(
std::move(nodes), std::move(edges), std::move(node_weights), std::move(edge_weights), true
);
new_graph.set_permutation(std::move(node_permutations.new_to_old));
new_graph.set_permutation(std::move(node_permutations.old_to_new));
return new_graph;
}
} // namespace kaminpar::shm::graph

0 comments on commit 8c5be79

Please sign in to comment.