From 271dce46f6b63cda8adaeacf3dc5b762d397c578 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 12 Feb 2020 11:13:58 +0100 Subject: [PATCH] Avoid calling into MPI functions with MinMaxAvg in serial --- source/base/mpi.cc | 1 + 1 file changed, 1 insertion(+) 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), -- 2.39.5