From 3f3196cf1ccdf8edc6e095764af9d7c9ef1e14d4 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 11 Sep 2017 18:45:48 -0600 Subject: [PATCH] Remove an unused variable. --- include/deal.II/lac/solver_richardson.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/include/deal.II/lac/solver_richardson.h b/include/deal.II/lac/solver_richardson.h index 3423d73000..37f7b95a7a 100644 --- a/include/deal.II/lac/solver_richardson.h +++ b/include/deal.II/lac/solver_richardson.h @@ -165,14 +165,6 @@ protected: * Control parameters. */ AdditionalData additional_data; - - /** - * Within the iteration loop, the norm of the residual is stored in this - * variable. The function @p criterion uses this variable to compute the - * convergence value, which in this class is the norm of the residual vector - * and thus the square root of the @p res2 value. - */ - typename VectorType::value_type res; }; /*@}*/ @@ -211,8 +203,7 @@ SolverRichardson::SolverRichardson(SolverControl &cn, Solver (cn), Vr(nullptr), Vd(nullptr), - additional_data(data), - res(numbers::signaling_nan()) + additional_data(data) {} -- 2.39.5