From 0709c4f5a2107e8d14fdbda73f99d8d4ebd2b3a5 Mon Sep 17 00:00:00 2001 From: Boris Martin <boris.martin@uliege.be> Date: Fri, 18 Apr 2025 13:44:31 +0200 Subject: [PATCH] moved comment --- src/field/DistributedField.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/field/DistributedField.cpp b/src/field/DistributedField.cpp index 01516713..93210c79 100644 --- a/src/field/DistributedField.cpp +++ b/src/field/DistributedField.cpp @@ -305,7 +305,6 @@ namespace gmshfem::field global.data(), sizes.data(), displs.data(), mpi_struct_type, MPI_COMM_WORLD); - // Free the type _toSend.clear(); // Global is the list of dof indices someone is reading @@ -321,6 +320,8 @@ namespace gmshfem::field } } + + // Free the type MPI_Type_free(&mpi_struct_type); #else -- GitLab