From: Martin Kronbichler Date: Wed, 12 Feb 2020 10:13:58 +0000 (+0100) Subject: Avoid calling into MPI functions with MinMaxAvg in serial X-Git-Tag: v9.2.0-rc1~527^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9519%2Fhead;p=dealii.git Avoid calling into MPI functions with MinMaxAvg in serial --- diff --git a/source/base/mpi.cc b/source/base/mpi.cc index c7c46c4021..52a214484c 100644 --- a/source/base/mpi.cc +++ b/source/base/mpi.cc @@ -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),