]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix uninitialized variable
authorMartin Kronbichler <martin.kronbichler@rub.de>
Fri, 15 Mar 2024 07:44:11 +0000 (08:44 +0100)
committerMartin Kronbichler <martin.kronbichler@rub.de>
Fri, 15 Mar 2024 07:44:11 +0000 (08:44 +0100)
include/deal.II/lac/precondition.h

index dc8ca88c784b36679798b9c69aa9d6bc04126866..aa1a9a773a45cc038abdca8753e1172a5d1e3913 100644 (file)
@@ -2698,7 +2698,8 @@ PreconditionRelaxation<MatrixType, PreconditionerType>::initialize(
   const MatrixType     &rA,
   const AdditionalData &parameters)
 {
-  A = &rA;
+  A                           = &rA;
+  eigenvalues_are_initialized = false;
 
   Assert(parameters.preconditioner, ExcNotInitialized());
 

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.