From f7670ca5470059f5b3f575b1b70bcf2751e6df2b Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 22 Nov 2001 14:21:59 +0000 Subject: [PATCH] Add assertions. git-svn-id: https://svn.dealii.org/trunk@5240 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/numerics/matrices.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/deal.II/deal.II/include/numerics/matrices.h b/deal.II/deal.II/include/numerics/matrices.h index 1b8fb351a1..b229003348 100644 --- a/deal.II/deal.II/include/numerics/matrices.h +++ b/deal.II/deal.II/include/numerics/matrices.h @@ -383,7 +383,14 @@ class MatrixCreator /** * Exception */ - DeclException0 (ExcComponentMismatch); + DeclException0 (ExcComponentMismatch); + /** + * Exception + */ + DeclException2 (ExcDimensionsDontMatch, + int, int, + << "The dimensions " << arg1 << " and " << arg2 + << " don't match."); private: /** @@ -693,14 +700,7 @@ class MatrixTools : public MatrixCreator BlockVector &solution, BlockVector &right_hand_side, const bool eliminate_columns = true); - - /** - * Exception - */ - DeclException2 (ExcDimensionsDontMatch, - int, int, - << "The dimensions " << arg1 << " and " << arg2 - << " don't match."); + /** * Exception */ -- 2.39.5