From df148aeb66888e4f7434d2ed0395b2f2cb5366ae Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Fri, 4 Jun 2021 12:47:30 +0200 Subject: [PATCH] Fix ambiguous call in Utilities::MPI::all_reduce --- include/deal.II/base/mpi.templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5