From: bangerth Date: Tue, 18 Feb 2014 04:52:54 +0000 (+0000) Subject: Fix obvious oversight. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6af8c26796d69ca93a4166ed095ebc1af0db156c;p=dealii-svn.git Fix obvious oversight. git-svn-id: https://svn.dealii.org/trunk@32501 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/base/time_stepping.templates.h b/deal.II/include/deal.II/base/time_stepping.templates.h index 6a2c98a5f2..8a97eb0f73 100644 --- a/deal.II/include/deal.II/base/time_stepping.templates.h +++ b/deal.II/include/deal.II/base/time_stepping.templates.h @@ -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::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); } }