]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make a constructor 'explicit'.
authorWolfgang Bangerth <bangerth@colostate.edu>
Sat, 1 Jul 2023 21:13:04 +0000 (15:13 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sat, 1 Jul 2023 21:13:04 +0000 (15:13 -0600)
include/deal.II/lac/petsc_precondition.h

index 95eb7214a5e77cf16edc42cbfe9926d5b92a9e9c..37cf282832d596625a02ee71435e94b6aaba1091 100644 (file)
@@ -368,7 +368,7 @@ namespace PETScWrappers
       /**
        * Constructor. By default, set the damping parameter to one.
        */
-      AdditionalData(const double omega = 1);
+      explicit AdditionalData(const double omega = 1);
 
       /**
        * Relaxation parameter.

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.