From d569e5fb059a4f238f47592fa37780f8571658ac Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Fri, 16 Oct 2020 22:53:00 +0200 Subject: [PATCH] Fix Partitioner::ghost_indices_subset_data for larger_ghost_index_set.size() == 0 --- source/base/partitioner.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/base/partitioner.cc b/source/base/partitioner.cc index eb83593939..0af2c3fddb 100644 --- a/source/base/partitioner.cc +++ b/source/base/partitioner.cc @@ -359,9 +359,7 @@ namespace Utilities if (larger_ghost_index_set.size() == 0) { ghost_indices_subset_chunks_by_rank_data.clear(); - ghost_indices_subset_data.emplace_back(local_size(), - local_size() + - n_ghost_indices()); + ghost_indices_subset_data.emplace_back(0, n_ghost_indices()); n_ghost_indices_in_larger_set = n_ghost_indices_data; } else -- 2.39.5