From: Peter Munch Date: Fri, 4 Jun 2021 10:47:30 +0000 (+0200) Subject: Fix ambiguous call in Utilities::MPI::all_reduce X-Git-Tag: v9.4.0-rc1~1280^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12387%2Fhead;p=dealii.git Fix ambiguous call in Utilities::MPI::all_reduce --- diff --git a/include/deal.II/base/mpi.templates.h b/include/deal.II/base/mpi.templates.h index 8f7413ab1f..6c9e2eb178 100644 --- a/include/deal.II/base/mpi.templates.h +++ b/include/deal.II/base/mpi.templates.h @@ -621,7 +621,7 @@ namespace Utilities if (job_supports_mpi() && n_mpi_processes(comm) > 1) { // 1) perform reduction - const auto result = reduce(vec, comm, combiner); + const auto result = Utilities::MPI::reduce(vec, comm, combiner); // 2) broadcast result return Utilities::MPI::broadcast(comm, result);