]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix type of ConsensusAlgorithmProcessTargets 9604/head
authorPeter Munch <peterrmuench@gmail.com>
Tue, 3 Mar 2020 18:19:21 +0000 (19:19 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Tue, 3 Mar 2020 18:19:21 +0000 (19:19 +0100)
source/base/mpi.cc

index 52a214484cc447e9e713006c68b8c66fa7b8a0fe..487461cdbe2608f04dafd4730f8c246318ee52f4 100644 (file)
@@ -250,15 +250,15 @@ namespace Utilities
      * using the ConsensusAlgorithm.
      */
     class ConsensusAlgorithmProcessTargets
-      : public ConsensusAlgorithmProcess<int, int>
+      : public ConsensusAlgorithmProcess<unsigned int, unsigned int>
     {
     public:
       ConsensusAlgorithmProcessTargets(const std::vector<unsigned int> &target)
         : target(target)
       {}
 
-      using T1 = int;
-      using T2 = int;
+      using T1 = unsigned int;
+      using T2 = unsigned int;
 
       virtual void
       answer_request(const unsigned int other_rank,

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.