From: wolf Date: Thu, 22 Nov 2001 14:21:59 +0000 (+0000) Subject: Add assertions. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa9c2ecc07dd2109d0bab2684f4c2eca0b9b6354;p=dealii-svn.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 */