From: Daniel Arndt Date: Tue, 31 Mar 2020 17:49:26 +0000 (-0400) Subject: Implement default initializer for EigenvalueInformation X-Git-Tag: v9.2.0-rc1~320^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00cd64da0fdbc4d3e000164d0f23e29ee8a0aa5f;p=dealii.git Implement default initializer for EigenvalueInformation --- diff --git a/include/deal.II/lac/precondition.h b/include/deal.II/lac/precondition.h index f2261ddc52..9659ca120d 100644 --- a/include/deal.II/lac/precondition.h +++ b/include/deal.II/lac/precondition.h @@ -1187,6 +1187,15 @@ public: * AdditionalData::degree or estimated as described there). */ unsigned int degree; + /** + * Constructor initializing with invalid values. + */ + EigenvalueInformation() + : min_eigenvalue_estimate{std::numeric_limits::max()} + , max_eigenvalue_estimate{std::numeric_limits::lowest()} + , cg_iterations{0} + , degree{0} + {} }; /**