]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix obvious oversight.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 18 Feb 2014 04:52:54 +0000 (04:52 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 18 Feb 2014 04:52:54 +0000 (04:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@32501 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/time_stepping.templates.h

index 6a2c98a5f2889b65c96bb2a5cb836c6f39c3e97d..8a97eb0f73e4299de7d89da8bfd302b51be3601c 100644 (file)
@@ -341,7 +341,7 @@ namespace TimeStepping
         const double new_t = t+this->c[i]*delta_t;
         const double new_delta_t = this->a[i][i]*delta_t;
         newton_solve(std_cxx1x::bind(&ImplicitRungeKutta<VECTOR>::compute_residual,this,f,new_t,new_delta_t,
-                                     std_cxx1x::cref(old_y),std_cxx1x::_1,std::ref(f_stages[i]),std_cxx1x::_2),
+                                     std_cxx1x::cref(old_y),std_cxx1x::_1,std_cxx1x::ref(f_stages[i]),std_cxx1x::_2),
                      std_cxx1x::bind(id_minus_tau_J_inverse,new_t,new_delta_t,std_cxx1x::_1),y);
       }
   }

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.