From ebeae15d254cbb956311978b79d098b2b23264a0 Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 2 Nov 2012 18:59:48 +0000 Subject: [PATCH] Correct an indexing mistake that would have bitten us in the spacedim > dim case. git-svn-id: https://svn.dealii.org/trunk@27318 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/fe/fe_values.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/include/deal.II/fe/fe_values.h b/deal.II/include/deal.II/fe/fe_values.h index 1f43711b02..7e8e9f7c4c 100644 --- a/deal.II/include/deal.II/fe/fe_values.h +++ b/deal.II/include/deal.II/fe/fe_values.h @@ -869,7 +869,7 @@ namespace FEValuesViews * (e.g. for RT elements it depends * on the shape of a cell). */ - bool is_nonzero_shape_function_component[dim]; + bool is_nonzero_shape_function_component[spacedim]; /** * For each pair (shape function, @@ -887,7 +887,7 @@ namespace FEValuesViews * harder to compute this * information. */ - unsigned int row_index[dim]; + unsigned int row_index[spacedim]; /** * For each shape function say the -- 2.39.5