From e9e8733ee66a0ed02ba2878d2c85b009aa2a7b6d Mon Sep 17 00:00:00 2001 From: turcksin Date: Tue, 29 Apr 2014 19:43:27 +0000 Subject: [PATCH] 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 --- deal.II/include/deal.II/base/time_stepping.templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5