]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix undefined symbol in MPI::MinMaxAvg without MPI, commit 97bd7e2. 257/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 19 Nov 2014 21:08:51 +0000 (22:08 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 19 Nov 2014 21:08:51 +0000 (22:08 +0100)
source/base/mpi.cc

index dd05f4361c67485ffc0295f206a12220bd24f56e..3fc0077a919cc348dff053293b209f4771958840 100644 (file)
@@ -226,18 +226,6 @@ namespace Utilities
 
 
 
-    MinMaxAvg::MinMaxAvg ()
-      :
-      sum (0.),
-      min (std::numeric_limits<double>::max()),
-      max (-min),
-      min_index (0),
-      max_index (0),
-      avg (0)
-    {}
-
-
-
     MinMaxAvg
     min_max_avg(const double my_value,
                 const MPI_Comm &mpi_communicator)
@@ -302,7 +290,6 @@ namespace Utilities
 
 
 
-
     MinMaxAvg
     min_max_avg(const double my_value,
                 const MPI_Comm &)
@@ -323,6 +310,18 @@ namespace Utilities
 
 
 
+    MinMaxAvg::MinMaxAvg ()
+      :
+      sum (0.),
+      min (std::numeric_limits<double>::max()),
+      max (-min),
+      min_index (0),
+      max_index (0),
+      avg (0)
+    {}
+
+
+
     MPI_InitFinalize::MPI_InitFinalize (int    &argc,
                                         char ** &argv,
                                         const unsigned int max_num_threads)

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.