From: Martin Kronbichler Date: Sun, 6 Nov 2016 19:52:57 +0000 (+0100) Subject: Initialize variables X-Git-Tag: v8.5.0-rc1~447^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb758f678ce0cd0925b22a264386033c67fe8bfe;p=dealii.git Initialize variables --- diff --git a/include/deal.II/lac/precondition.h b/include/deal.II/lac/precondition.h index 691ee727e6..ce5ac91966 100644 --- a/include/deal.II/lac/precondition.h +++ b/include/deal.II/lac/precondition.h @@ -1980,6 +1980,8 @@ template inline PreconditionChebyshev::PreconditionChebyshev () : + theta (1.), + delta (1.), is_initialized (false) { #ifdef DEAL_II_WITH_CXX11 @@ -2016,6 +2018,7 @@ void PreconditionChebyshev::clear () { is_initialized = false; + theta = delta = 1.0; matrix_ptr = 0; data.matrix_diagonal_inverse.reinit(0); data.preconditioner.reset();