From 528be10ad9182eaff4e8bffb6e857393be3d844a Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 13 May 2022 14:55:11 -0600 Subject: [PATCH] Simplify the type used by ConsensusAlgorithm in compute_n_point_to_point_communications(). --- source/base/mpi.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/base/mpi.cc b/source/base/mpi.cc index 29cef1bd59..67be2af9b6 100644 --- a/source/base/mpi.cc +++ b/source/base/mpi.cc @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include @@ -27,6 +28,8 @@ #include #include +#include + #include #include #include @@ -381,7 +384,7 @@ namespace Utilities if (Utilities::MPI::min((my_destinations_are_unique ? 1 : 0), mpi_comm) == 1) { - return ConsensusAlgorithms::nbx, std::vector>( + return ConsensusAlgorithms::nbx( destinations, {}, {}, {}, mpi_comm); } @@ -477,7 +480,7 @@ namespace Utilities if (Utilities::MPI::min((my_destinations_are_unique ? 1 : 0), mpi_comm) == 1) { - return ConsensusAlgorithms::nbx, std::vector>( + return ConsensusAlgorithms::nbx( destinations, {}, {}, {}, mpi_comm) .size(); } -- 2.39.5