]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid calling into MPI functions with MinMaxAvg in serial 9519/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 12 Feb 2020 10:13:58 +0000 (11:13 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 12 Feb 2020 10:13:58 +0000 (11:13 +0100)
source/base/mpi.cc

index c7c46c40219a03ea9365de8eb7a69a3a88510e5f..52a214484cc447e9e713006c68b8c66fa7b8a0fe 100644 (file)
@@ -570,6 +570,7 @@ namespace Utilities
               result[i].min_index = 0;
               result[i].max_index = 0;
             }
+          return;
         }
 
       AssertDimension(Utilities::MPI::min(my_values.size(), mpi_communicator),

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.