From: wolf Date: Mon, 20 Jun 2005 20:20:05 +0000 (+0000) Subject: Add an assertion. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d2257ba76d35b219aba6a032345c49e04d0905e;p=dealii-svn.git Add an assertion. git-svn-id: https://svn.dealii.org/trunk@10894 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_tools.cc b/deal.II/deal.II/source/fe/fe_tools.cc index dc14f1ff18..08ea2dfb17 100644 --- a/deal.II/deal.II/source/fe/fe_tools.cc +++ b/deal.II/deal.II/source/fe/fe_tools.cc @@ -582,6 +582,8 @@ FETools::compute_embedding_matrices(const FiniteElement& fe, if (std::fabs(this_matrix(i,j)) < 1e-12) this_matrix(i,j) = 0.; } + Assert (cell_number == GeometryInfo::children_per_cell, + ExcInternalError()); }