]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use AssertNothrow in Utilities::MPI::MPI_InitFinalize
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 23 Apr 2018 13:57:16 +0000 (15:57 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 23 Apr 2018 21:16:48 +0000 (23:16 +0200)
source/base/mpi.cc

index 81ceef23932253aa8021a6b0f19e02eb57b4fd84..6975286e46bdc70903007a7e33dceeae774da9ef 100644 (file)
@@ -516,7 +516,8 @@ namespace Utilities
           else
             {
               const int ierr = MPI_Finalize();
-              AssertThrowMPI(ierr);
+              (void) ierr;
+              AssertNothrow(ierr == MPI_SUCCESS, dealii::ExcMPI(ierr));
             }
         }
 #endif

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.