]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fixed initialization issue.
authorLuca Heltai <luca.heltai@sissa.it>
Sat, 11 Apr 2015 16:16:11 +0000 (18:16 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Thu, 16 Apr 2015 14:20:13 +0000 (16:20 +0200)
source/fe/mapping_fe_field.cc

index 7d7e1d8c7ab6c5f159e6a76faf3de2f764eb7b5f..57ac1c495aad22c50b4aa55c5693d79e56d50a85 100644 (file)
@@ -511,7 +511,7 @@ MappingFEField<dim,spacedim,VECTOR,DH>::fill_fe_values (
               const Tensor<2,dim> *second =
                 &data.second_derivative(point+data_set, 0);
 
-              double result [spacedim][dim][dim];
+              DerivativeForm<2,dim,spacedim> result;
 
               for (unsigned int k=0; k<data.n_shape_functions; ++k)
                 {

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.