From 775cb4b15f70043f1f1515a6d7c493a8e73c46ea Mon Sep 17 00:00:00 2001 From: oliver Date: Thu, 20 Jan 2005 13:17:57 +0000 Subject: [PATCH] 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 --- deal.II/deal.II/source/fe/fe_raviart_thomas.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); -- 2.39.5