From f2e571900c072ff97a8f0184148b967f4bba0005 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 11 Feb 2022 10:17:11 -0700 Subject: [PATCH] Free the correct communicator. --- include/deal.II/base/aligned_vector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 **** -- 2.39.5