From: Wolfgang Bangerth Date: Fri, 21 Feb 2003 15:31:16 +0000 (+0000) Subject: Don't mark an array that is initialized with non-const elements as X-Git-Tag: v8.0.0~16868 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b48a011780e2a823fce283ce60ec3e4fbdf5a19;p=dealii.git Don't mark an array that is initialized with non-const elements as static (spotted by Anna). git-svn-id: https://svn.dealii.org/trunk@7209 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_nedelec.cc b/deal.II/deal.II/source/fe/fe_nedelec.cc index fb30d185bc..c3f9540c10 100644 --- a/deal.II/deal.II/source/fe/fe_nedelec.cc +++ b/deal.II/deal.II/source/fe/fe_nedelec.cc @@ -490,7 +490,7 @@ FE_Nedelec::shape_grad_component (const unsigned int i, const double x = p(0), y = p(1), z = p(2); - static const double unit_gradients[12][3][3] + const double unit_gradients[12][3][3] = { { {0,-(1-z), -(1-y)}, {0,0,0}, { 0, 0, 0} }, { {0, 0, 0}, {0,0,0}, { (1-y), -x, 0} }, { {0, -z, (1-y)}, {0,0,0}, { 0, 0, 0} },