From 801ded62ebef5d2642a8a522e1640446a4cfc183 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sat, 1 Jul 2023 15:13:04 -0600 Subject: [PATCH] Make a constructor 'explicit'. --- include/deal.II/lac/petsc_precondition.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.5