From f13bdfdb2a76ef57cf4f699a4cc6301bffdcede3 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 5 Oct 2023 15:01:04 -0600 Subject: [PATCH] Fix swapped error messages. --- include/deal.II/lac/affine_constraints.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 -- 2.39.5