diff --git a/src/Repartitioner.C b/src/Repartitioner.C index 8c53616e7..2192a12b0 100644 --- a/src/Repartitioner.C +++ b/src/Repartitioner.C @@ -406,7 +406,6 @@ Repartitioner::repartition_comm_pattern( send_idxs.clear(); } - // early return if no communication partners are left if (gathered_target_ids.size() == 0) { return std::make_shared( @@ -415,7 +414,6 @@ Repartitioner::repartition_comm_pattern( target_ids.end()}, gko::array{exec, target_sizes.begin(), target_sizes.end()}, - send_idxs); }