From: Peter Munch Date: Fri, 16 Oct 2020 20:53:00 +0000 (+0200) Subject: Fix Partitioner::ghost_indices_subset_data for larger_ghost_index_set.size() == 0 X-Git-Tag: v9.3.0-rc1~1002^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d569e5fb059a4f238f47592fa37780f8571658ac;p=dealii.git Fix Partitioner::ghost_indices_subset_data for larger_ghost_index_set.size() == 0 --- 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