From 6addc50fc170b8424a7a1ae0a6f9f6b789efc01c Mon Sep 17 00:00:00 2001 From: Rene Gassmoeller Date: Mon, 17 Oct 2022 15:35:43 -0400 Subject: [PATCH] Fix typos in ConsensusAlgorithm::NBX --- include/deal.II/base/mpi_consensus_algorithms.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/deal.II/base/mpi_consensus_algorithms.h b/include/deal.II/base/mpi_consensus_algorithms.h index 373dbbd28e..88cedfae5c 100644 --- a/include/deal.II/base/mpi_consensus_algorithms.h +++ b/include/deal.II/base/mpi_consensus_algorithms.h @@ -1732,9 +1732,8 @@ namespace Utilities return false; else { - // OK, so we have gotten a reply to our answer from - // one rank. Let us process it, after double checking - // that it is indeed one we were still expecting: + // OK, so we have gotten a reply to our request from + // one rank. Let us process it. const auto target = status.MPI_SOURCE; // Then query the size of the message, allocate enough memory, @@ -1899,7 +1898,7 @@ namespace Utilities int all_ranks_reached_barrier; const auto ierr = MPI_Test(&barrier_request, &all_ranks_reached_barrier, - MPI_STATUSES_IGNORE); + MPI_STATUS_IGNORE); AssertThrowMPI(ierr); return all_ranks_reached_barrier != 0; # else -- 2.39.5