]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Enable some tests to run in C++03 mode. 2760/head
authorDavid Wells <wellsd2@rpi.edu>
Thu, 7 Jul 2016 11:11:40 +0000 (07:11 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Thu, 7 Jul 2016 11:11:40 +0000 (07:11 -0400)
tests/arpack/step-36_parpack.cc
tests/fe/fe_series_05.cc
tests/slepc/step-36_parallel.cc

index b9cef33e1508cd36b13340aa3601698c3cde5e0e..a3339509c0459b3b5275ccc621d9a7d3b651e03c 100644 (file)
@@ -322,7 +322,7 @@ void test ()
           stiffness_matrix.vmult(Ax,eigenfunctions[i]);
           Ax.add(-1.0*std::real(lambda[i]),Bx);
           Assert (Ax.l2_norm() < precision,
-                  ExcMessage(std::to_string(Ax.l2_norm())));
+                  ExcMessage(Utilities::to_string(Ax.l2_norm())));
         }
     }
   }
index 9aac64699375a58cc45ad2b9b2308b9e5c2038c8..e5fc151771dffbd144bdb987d97c8440e26d8f70 100644 (file)
@@ -70,7 +70,7 @@ double Lh(const Point<dim>  &x_q,
       const double x = 2.0*(x_q[d]-0.5);
       Assert ( (x_q[d] <= 1.0) && (x_q[d] >= 0.),
                ExcMessage("x_q is not in [0,1]" +
-                          std::to_string(x_q[d])));
+                          Utilities::to_string(x_q[d])));
       const int ind = indices[d];
       res *= sqrt(2.0) * gsl_sf_legendre_Pl (ind, x);
     }
index beb9b3b0665492c150c71e7505ea748a7ff89499..3c332bae669c73c258b1aee434e3461862c8a213 100644 (file)
@@ -314,7 +314,7 @@ void test (std::string solver_name,
           stiffness_matrix.vmult(Ax,eigenfunctions[i]);
           Ax.add(-1.0*eigenvalues[i],Bx);
           Assert (Ax.l2_norm() < precision,
-                  ExcMessage(std::to_string(Ax.l2_norm())));
+                  ExcMessage(Utilities::to_string(Ax.l2_norm())));
         }
     }
   }

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.