From: Wolfgang Bangerth Date: Fri, 13 May 2022 20:55:11 +0000 (-0600) Subject: Simplify the type used by ConsensusAlgorithm in compute_n_point_to_point_communicatio... X-Git-Tag: v9.4.0-rc1~221^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13731%2Fhead;p=dealii.git Simplify the type used by ConsensusAlgorithm in compute_n_point_to_point_communications(). --- 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(); }