]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Don't mark an array that is initialized with non-const elements as
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 21 Feb 2003 15:31:16 +0000 (15:31 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 21 Feb 2003 15:31:16 +0000 (15:31 +0000)
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

index fb30d185bc1b96dd4954522f4cff23144e570535..c3f9540c10afb30278306e6b156edc985d404c04 100644 (file)
@@ -490,7 +490,7 @@ FE_Nedelec<dim>::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} },

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.