From: Rene Gassmoeller <rene.gassmoeller@mailbox.org>
Date: Mon, 17 Oct 2022 19:35:43 +0000 (-0400)
Subject: Fix typos in ConsensusAlgorithm::NBX
X-Git-Tag: v9.5.0-rc1~895^2
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14357%2Fhead;p=dealii.git

Fix typos in ConsensusAlgorithm::NBX
---

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