From: Wolfgang Bangerth Date: Thu, 22 Nov 2001 14:21:59 +0000 (+0000) Subject: Add assertions. X-Git-Tag: v8.0.0~18593 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7670ca5470059f5b3f575b1b70bcf2751e6df2b;p=dealii.git Add assertions. git-svn-id: https://svn.dealii.org/trunk@5240 0785d39b-7218-0410-832d-ea1e28bc413d --- 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 */