]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix Partitioner::ghost_indices_subset_data for larger_ghost_index_set.size() == 0 11051/head
authorPeter Munch <peterrmuench@gmail.com>
Fri, 16 Oct 2020 20:53:00 +0000 (22:53 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Fri, 16 Oct 2020 20:53:00 +0000 (22:53 +0200)
source/base/partitioner.cc

index eb83593939ef336ce4617840eaad20662457b8ea..0af2c3fddb680fe2ce5404829953a75e8186103a 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.