From: Timo Heister Date: Tue, 13 Jun 2023 20:40:54 +0000 (-0400) Subject: make another AdditionalData ctor explicit X-Git-Tag: v9.5.0-rc1~117^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e88e230c85808e341f2a93464a208a6ecf7c7e58;p=dealii.git make another AdditionalData ctor explicit --- diff --git a/include/deal.II/lac/sparse_decomposition.h b/include/deal.II/lac/sparse_decomposition.h index 6f472d60dc..79b7682038 100644 --- a/include/deal.II/lac/sparse_decomposition.h +++ b/include/deal.II/lac/sparse_decomposition.h @@ -144,10 +144,10 @@ public: /** * Constructor. For the parameters' description, see below. */ - AdditionalData(const double strengthen_diagonal = 0, - const unsigned int extra_off_diagonals = 0, - const bool use_previous_sparsity = false, - const SparsityPattern *use_this_sparsity = nullptr); + explicit AdditionalData(const double strengthen_diagonal = 0., + const unsigned int extra_off_diagonals = 0, + const bool use_previous_sparsity = false, + const SparsityPattern *use_this_sparsity = nullptr); /** * strengthen_diag times the sum of absolute row entries is