From: Peter Munch Date: Sun, 23 Oct 2022 07:36:31 +0000 (+0200) Subject: Fix assert message X-Git-Tag: v9.5.0-rc1~893^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a0c6ca4f70b6a8c9759f25716d665240c631330;p=dealii.git Fix assert message --- diff --git a/include/deal.II/lac/chunk_sparse_matrix.h b/include/deal.II/lac/chunk_sparse_matrix.h index 6479eafe7d..8e7829426e 100644 --- a/include/deal.II/lac/chunk_sparse_matrix.h +++ b/include/deal.II/lac/chunk_sparse_matrix.h @@ -1395,7 +1395,7 @@ public: * Exception */ DeclExceptionMsg(ExcSourceEqualsDestination, - "You are attempting an operation on two matrices that " + "You are attempting an operation on two vectors that " "are the same object, but the operation requires that the " "two objects are in fact different."); /** @} */ diff --git a/include/deal.II/lac/full_matrix.h b/include/deal.II/lac/full_matrix.h index 3a628a558b..ee50fb8da4 100644 --- a/include/deal.II/lac/full_matrix.h +++ b/include/deal.II/lac/full_matrix.h @@ -1109,7 +1109,7 @@ public: * Exception */ DeclExceptionMsg(ExcSourceEqualsDestination, - "You are attempting an operation on two matrices that " + "You are attempting an operation on two vectors that " "are the same object, but the operation requires that the " "two objects are in fact different."); /** diff --git a/include/deal.II/lac/petsc_matrix_base.h b/include/deal.II/lac/petsc_matrix_base.h index 1aa5a9435f..e6c7121485 100644 --- a/include/deal.II/lac/petsc_matrix_base.h +++ b/include/deal.II/lac/petsc_matrix_base.h @@ -934,7 +934,7 @@ namespace PETScWrappers * Exception */ DeclExceptionMsg(ExcSourceEqualsDestination, - "You are attempting an operation on two matrices that " + "You are attempting an operation on two vectors that " "are the same object, but the operation requires that the " "two objects are in fact different."); diff --git a/include/deal.II/lac/sparse_matrix.h b/include/deal.II/lac/sparse_matrix.h index a27f2bb07f..248007e9c7 100644 --- a/include/deal.II/lac/sparse_matrix.h +++ b/include/deal.II/lac/sparse_matrix.h @@ -1710,7 +1710,7 @@ public: * Exception */ DeclExceptionMsg(ExcSourceEqualsDestination, - "You are attempting an operation on two matrices that " + "You are attempting an operation on two vectors that " "are the same object, but the operation requires that the " "two objects are in fact different."); /** @} */ diff --git a/include/deal.II/lac/trilinos_sparse_matrix.h b/include/deal.II/lac/trilinos_sparse_matrix.h index 51ca742d5d..310ba946ee 100644 --- a/include/deal.II/lac/trilinos_sparse_matrix.h +++ b/include/deal.II/lac/trilinos_sparse_matrix.h @@ -1867,7 +1867,7 @@ namespace TrilinosWrappers * Exception */ DeclExceptionMsg(ExcSourceEqualsDestination, - "You are attempting an operation on two matrices that " + "You are attempting an operation on two vectors that " "are the same object, but the operation requires that the " "two objects are in fact different."); diff --git a/include/deal.II/lac/trilinos_sparsity_pattern.h b/include/deal.II/lac/trilinos_sparsity_pattern.h index 74c8ea1ea8..db1daea8ec 100644 --- a/include/deal.II/lac/trilinos_sparsity_pattern.h +++ b/include/deal.II/lac/trilinos_sparsity_pattern.h @@ -948,15 +948,6 @@ namespace TrilinosWrappers << "The entry with index <" << arg1 << ',' << arg2 << "> does not exist."); - /** - * Exception - */ - DeclExceptionMsg( - ExcSourceEqualsDestination, - "You are attempting an operation on two sparsity patterns that " - "are the same object, but the operation requires that the " - "two objects are in fact different."); - /** * Exception */