From: Wolfgang Bangerth Date: Fri, 11 Feb 2022 17:17:11 +0000 (-0700) Subject: Free the correct communicator. X-Git-Tag: v9.4.0-rc1~509^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13361%2Fhead;p=dealii.git Free the correct communicator. --- diff --git a/include/deal.II/base/aligned_vector.h b/include/deal.II/base/aligned_vector.h index b9718a503b..51f0f02b3e 100644 --- a/include/deal.II/base/aligned_vector.h +++ b/include/deal.II/base/aligned_vector.h @@ -1663,7 +1663,7 @@ AlignedVector::replicate_across_communicator(const MPI_Comm & communicator, } // We no longer need the shmem roots communicator, so get rid of it - Utilities::MPI::free_communicator(shmem_group_communicator); + Utilities::MPI::free_communicator(shmem_roots_communicator); // **** Step 3 ****