]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix typos in ConsensusAlgorithm::NBX 14357/head
authorRene Gassmoeller <rene.gassmoeller@mailbox.org>
Mon, 17 Oct 2022 19:35:43 +0000 (15:35 -0400)
committerRene Gassmoeller <rene.gassmoeller@mailbox.org>
Mon, 17 Oct 2022 19:35:48 +0000 (15:35 -0400)
include/deal.II/base/mpi_consensus_algorithms.h

index 373dbbd28e69c9d0a0b78e07052806b9664ef855..88cedfae5cebda3bd6aca2260220f5f5746c07f4 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.