]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix swapped error messages. 16101/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 5 Oct 2023 21:01:04 +0000 (15:01 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 5 Oct 2023 21:01:04 +0000 (15:01 -0600)
include/deal.II/lac/affine_constraints.h

index e683d2d8c4ecdec06e0fa5f046d4b86ad9bdd6c8..741ce4014d81b068a9499e1daee103c8f0d011d1 100644 (file)
@@ -1882,9 +1882,9 @@ public:
   DeclExceptionMsg(
     ExcMatrixIsClosed,
     "You are attempting an operation on an AffineConstraints object "
-    "that requires the object to be 'closed', i.e., for which you "
-    "needed to call the close() member function. But the object "
-    "is not currently closed, and so the operation can not be "
+    "that requires the object to not be 'closed', i.e., for which you "
+    "must not already have called the close() member function. But the "
+    "object is already closed, and so the operation can not be "
     "performed.");
   /**
    * Exception
@@ -1894,9 +1894,9 @@ public:
   DeclExceptionMsg(
     ExcMatrixNotClosed,
     "You are attempting an operation on an AffineConstraints object "
-    "that requires the object to not be 'closed', i.e., for which you "
-    "must not already have called the close() member function. But the "
-    "object is already closed, and so the operation can not be "
+    "that requires the object to be 'closed', i.e., for which you "
+    "needed to call the close() member function. But the object "
+    "is not currently closed, and so the operation can not be "
     "performed.");
   /**
    * Exception

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.