From: Wolfgang Bangerth Date: Thu, 5 Oct 2023 21:01:04 +0000 (-0600) Subject: Fix swapped error messages. X-Git-Tag: relicensing~426^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16101%2Fhead;p=dealii.git Fix swapped error messages. --- diff --git a/include/deal.II/lac/affine_constraints.h b/include/deal.II/lac/affine_constraints.h index e683d2d8c4..741ce4014d 100644 --- a/include/deal.II/lac/affine_constraints.h +++ b/include/deal.II/lac/affine_constraints.h @@ -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