From: 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-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebeae15d254cbb956311978b79d098b2b23264a0;p=dealii-svn.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