]> https://gitweb.dealii.org/ - dealii.git/commitdiff
make another AdditionalData ctor explicit 15357/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 13 Jun 2023 20:40:54 +0000 (16:40 -0400)
committerTimo Heister <timo.heister@gmail.com>
Tue, 13 Jun 2023 20:40:54 +0000 (16:40 -0400)
include/deal.II/lac/sparse_decomposition.h

index 6f472d60dc9f62df8435a60be9b50df22eda218e..79b7682038eee8ea30be61e9a8e0b0593a3bb45c 100644 (file)
@@ -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);
 
     /**
      * <code>strengthen_diag</code> times the sum of absolute row entries is

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.