From 5edfacb1bd824fd80579b64d336c5b7021bf102c Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 23 Apr 2018 15:57:16 +0200 Subject: [PATCH] Use AssertNothrow in Utilities::MPI::MPI_InitFinalize --- source/base/mpi.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/base/mpi.cc b/source/base/mpi.cc index 81ceef2393..6975286e46 100644 --- a/source/base/mpi.cc +++ b/source/base/mpi.cc @@ -516,7 +516,8 @@ namespace Utilities else { const int ierr = MPI_Finalize(); - AssertThrowMPI(ierr); + (void) ierr; + AssertNothrow(ierr == MPI_SUCCESS, dealii::ExcMPI(ierr)); } } #endif -- 2.39.5