From: Bruno Turcksin Date: Tue, 29 Apr 2014 19:43:27 +0000 (+0000) Subject: Fix a mistake on the sign in the residual formular for time_stepping. X-Git-Tag: v8.2.0-rc1~534 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10bfb31ec6d64c0d4d3b18a02970c5de9862bb75;p=dealii.git Fix a mistake on the sign in the residual formular for time_stepping. git-svn-id: https://svn.dealii.org/trunk@32858 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 c3c08f117d..9886655530 100644 --- a/deal.II/include/deal.II/base/time_stepping.templates.h +++ b/deal.II/include/deal.II/base/time_stepping.templates.h @@ -388,7 +388,7 @@ namespace TimeStepping tendency = f(t,y); residual = tendency; residual.sadd(delta_t,1.0,old_y); - residual.sadd(1.0,-1.,y); + residual.sadd(-1.0,1.,y); }