From: kanschat Date: Wed, 17 Nov 2010 17:02:40 +0000 (+0000) Subject: Replace exception by more verbose type X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95a704dfd8e5f7244f88a79597a611da87735c48;p=dealii-svn.git Replace exception by more verbose type git-svn-id: https://svn.dealii.org/trunk@22793 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/fe/fe.cc b/deal.II/source/fe/fe.cc index b45135b670..a89db5320a 100644 --- a/deal.II/source/fe/fe.cc +++ b/deal.II/source/fe/fe.cc @@ -165,8 +165,7 @@ FiniteElement::FiniteElement ( Assert (restriction_is_additive_flags.size() == this->dofs_per_cell, ExcDimensionMismatch(restriction_is_additive_flags.size(), this->dofs_per_cell)); - Assert (nonzero_components.size() == this->dofs_per_cell, - ExcInternalError()); + AssertDimension (nonzero_components.size(), this->dofs_per_cell); for (unsigned int i=0; in_components(),