From: Wolfgang Bangerth Date: Fri, 2 Nov 2012 18:59:48 +0000 (+0000) Subject: Correct an indexing mistake that would have bitten us in the X-Git-Tag: v8.0.0~1891 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fa0fe952636f01789189c6605a92eaaf5038d44;p=dealii.git 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 --- 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