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=refs%2Fpull%2F9784%2Fhead;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} + {} }; /**