From 649281b4df76660bc4b773a5c0c54c5dabf1b786 Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 21 Feb 2003 15:31:16 +0000 Subject: [PATCH] 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 --- deal.II/deal.II/source/fe/fe_nedelec.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} }, -- 2.39.5