]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a warning regarding unused variable 14395/head
authorMartin Kronbichler <martin.kronbichler@uni-a.de>
Sun, 6 Nov 2022 10:18:08 +0000 (11:18 +0100)
committerMartin Kronbichler <martin.kronbichler@uni-a.de>
Sun, 6 Nov 2022 10:18:08 +0000 (11:18 +0100)
include/deal.II/lac/trilinos_solver.h

index 578dd396608b124304f3ec4e770b4a55f38721a4..95315516441cbc9e03477ad3a584c5f560f00c1e 100644 (file)
@@ -766,9 +766,10 @@ namespace TrilinosWrappers
       /**
        * Constructor.
        */
-      AdditionalData(const SolverName &solver_name           = SolverName::cg,
-                     const bool        right_preconditioning = false)
-        : right_preconditioning(right_preconditioning)
+      AdditionalData(const SolverName solver_name           = SolverName::cg,
+                     const bool       right_preconditioning = false)
+        : solver_name(solver_name)
+        , right_preconditioning(right_preconditioning)
       {}
 
       /**

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.