From: oliver Date: Thu, 20 Jan 2005 13:17:57 +0000 (+0000) Subject: Minor bugfix, which caused an "Internal error", when the face values X-Git-Tag: v8.0.0~14611 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=775cb4b15f70043f1f1515a6d7c493a8e73c46ea;p=dealii.git Minor bugfix, which caused an "Internal error", when the face values of the Raviart-Thomas elements were used. git-svn-id: https://svn.dealii.org/trunk@9879 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_raviart_thomas.cc b/deal.II/deal.II/source/fe/fe_raviart_thomas.cc index 1bc800305a..2fb51bee2f 100644 --- a/deal.II/deal.II/source/fe/fe_raviart_thomas.cc +++ b/deal.II/deal.II/source/fe/fe_raviart_thomas.cc @@ -1658,8 +1658,9 @@ FE_RaviartThomas::fill_fe_face_values (const Mapping // number of conversions if (flags & update_values) { - Assert (fe_data.shape_values.size() == - GeometryInfo::faces_per_cell * n_q_points, + Assert (fe_data.shape_values[0].size() == + GeometryInfo::faces_per_cell * n_q_points * + (dim == 3 ? 2 : 1), ExcInternalError()); std::vector > shape_values (n_q_points);