]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix the TimeStepping test.
authorturcksin <turcksin@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 18 Feb 2014 14:58:47 +0000 (14:58 +0000)
committerturcksin <turcksin@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 18 Feb 2014 14:58:47 +0000 (14:58 +0000)
git-svn-id: https://svn.dealii.org/trunk@32504 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/time_stepping_01.cc

index b689f16a33ace81d2db1589951f501bdf52c31c7..e22b054ccdea3f020ff1fc6ad0860d2ad2d6f14c 100644 (file)
@@ -116,9 +116,9 @@ double my5(double const t)
 }
 
 void test(TimeStepping::RungeKutta<Vector<double> > &solver,
-    std::function<Vector<double> (double const, Vector<double> const &)> f,
-    std::function<Vector<double> (double const, double const, Vector<double> const &)> id_minus_tau_J_inv,
-    std::function<double (double const)> my)
+    std_cxx1x::function<Vector<double> (double const, Vector<double> const &)> f,
+    std_cxx1x::function<Vector<double> (double const, double const, Vector<double> const &)> id_minus_tau_J_inv,
+    std_cxx1x::function<double (double const)> my)
 {
   unsigned int n_time_steps = 1;
   unsigned int size = 1;
@@ -143,9 +143,9 @@ void test(TimeStepping::RungeKutta<Vector<double> > &solver,
 }
 
 void test2(TimeStepping::EmbeddedExplicitRungeKutta<Vector<double> > &solver,
-    std::function<Vector<double> (double const, Vector<double> const &)> f,
-    std::function<Vector<double> (double const, double const, Vector<double> const &)> id_minus_tau_J_inv,
-    std::function<double (double const)> my)
+    std_cxx1x::function<Vector<double> (double const, Vector<double> const &)> f,
+    std_cxx1x::function<Vector<double> (double const, double const, Vector<double> const &)> id_minus_tau_J_inv,
+    std_cxx1x::function<double (double const)> my)
 {
   double initial_time = 0.0, final_time = 1.0;
   double time_step = 1.0;

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.