diff --git a/kaminpar-shm/datastructures/partitioned_graph.cc b/kaminpar-shm/datastructures/partitioned_graph.cc index ff040e09..b40b99be 100644 --- a/kaminpar-shm/datastructures/partitioned_graph.cc +++ b/kaminpar-shm/datastructures/partitioned_graph.cc @@ -95,7 +95,7 @@ void GenericPartitionedGraph::sync_dense_and_aligned_block_weights() cons if (_k == 2) { _dense_block_weights[0] = _aligned_block_weights[0].value; _dense_block_weights[1] = _aligned_block_weights[1].value; - } else { + } else if (use_aligned_block_weights()) { tbb::parallel_for(0, _k, [&](const BlockID b) { _dense_block_weights[b] = _aligned_block_weights[b].value; });