]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve an error message. 18325/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 2 Apr 2025 17:01:42 +0000 (11:01 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 2 Apr 2025 17:01:42 +0000 (11:01 -0600)
include/deal.II/lac/solver_minres.h

index a2340082e7fed379bddec5aa5c800963784edf90..1e0acecfdbca89ff78393b88b6fd521ab90a6e4a 100644 (file)
@@ -117,7 +117,12 @@ public:
   /**
    * Exception
    */
-  DeclException0(ExcPreconditionerNotDefinite);
+  DeclExceptionMsg(ExcPreconditionerNotDefinite,
+                   "The preconditioner for MinRes must be a symmetric and "
+                   "definite operator, even though MinRes can solve linear "
+                   "systems with symmetric and *indefinite* operators. "
+                   "During iterations, MinRes has detected that the "
+                   "preconditioner is apparently not definite.");
   /** @} */
 
 protected:

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.