From: Wolfgang Bangerth Date: Sat, 1 Jul 2023 21:13:04 +0000 (-0600) Subject: Make a constructor 'explicit'. X-Git-Tag: relicensing~813^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=801ded62ebef5d2642a8a522e1640446a4cfc183;p=dealii.git Make a constructor 'explicit'. --- diff --git a/include/deal.II/lac/petsc_precondition.h b/include/deal.II/lac/petsc_precondition.h index 95eb7214a5..37cf282832 100644 --- a/include/deal.II/lac/petsc_precondition.h +++ b/include/deal.II/lac/petsc_precondition.h @@ -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.