Skip to content

Commit

Permalink
refactor: minor
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSeemaier committed Apr 30, 2024
1 parent a4cb9e2 commit b139e10
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions kaminpar-dist/graphutils/rearrangement.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

#include "kaminpar-shm/graphutils/permutator.h"

#include "kaminpar-common/datastructures/marker.h"
#include "kaminpar-common/parallel/atomic.h"
#include "kaminpar-common/parallel/loops.h"
#include "kaminpar-common/timer.h"

Expand Down Expand Up @@ -96,7 +94,8 @@ DistributedGraph rearrange_by_permutation(
const bool degree_sorted
) {
shm::graph::NodePermutations<StaticArray> permutations{
std::move(old_to_new), std::move(new_to_old)};
std::move(old_to_new), std::move(new_to_old)
};

const auto &old_nodes = graph.raw_nodes();
const auto &old_edges = graph.raw_edges();
Expand Down
1 change: 1 addition & 0 deletions kaminpar-dist/graphutils/replicator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include "kaminpar-dist/datastructures/distributed_partitioned_graph.h"
#include "kaminpar-dist/datastructures/ghost_node_mapper.h"
#include "kaminpar-dist/graphutils/synchronization.h"
#include "kaminpar-dist/logger.h"
#include "kaminpar-dist/metrics.h"

#include "kaminpar-shm/datastructures/graph.h"
Expand Down
2 changes: 0 additions & 2 deletions kaminpar-dist/graphutils/subgraph_extractor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@

#include <mpi.h>

#include "kaminpar-mpi/alltoall.h"
#include "kaminpar-mpi/sparse_alltoall.h"
#include "kaminpar-mpi/wrapper.h"

#include "kaminpar-dist/datastructures/distributed_graph.h"
#include "kaminpar-dist/datastructures/distributed_partitioned_graph.h"
#include "kaminpar-dist/graphutils/communication.h"
#include "kaminpar-dist/graphutils/synchronization.h"
Expand Down

0 comments on commit b139e10

Please sign in to comment.