From: Wolfgang Bangerth Date: Mon, 7 Nov 2016 16:57:22 +0000 (-0700) Subject: Initialize all member variables. X-Git-Tag: v8.5.0-rc1~437^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b97a9025529d5b474da9423e446b5c8d8c1cbaac;p=dealii.git Initialize all member variables. --- diff --git a/include/deal.II/algorithms/theta_timestepping.templates.h b/include/deal.II/algorithms/theta_timestepping.templates.h index 40e19a1820..99b5b00bcd 100644 --- a/include/deal.II/algorithms/theta_timestepping.templates.h +++ b/include/deal.II/algorithms/theta_timestepping.templates.h @@ -17,6 +17,7 @@ #include #include +#include #include DEAL_II_NAMESPACE_OPEN @@ -24,9 +25,20 @@ DEAL_II_NAMESPACE_OPEN namespace Algorithms { template - ThetaTimestepping::ThetaTimestepping (OperatorBase &e, OperatorBase &i) - : vtheta(0.5), adaptive(false), op_explicit(&e), op_implicit(&i) - {} + ThetaTimestepping::ThetaTimestepping (OperatorBase &e, + OperatorBase &i) + : + vtheta(0.5), + adaptive(false), + op_explicit(&e), + op_implicit(&i) + { + d_explicit.step = numbers::signaling_nan(); + d_explicit.time = numbers::signaling_nan(); + + d_implicit.step = numbers::signaling_nan(); + d_implicit.time = numbers::signaling_nan(); + } template