]> https://gitweb.dealii.org/ - dealii.git/commitdiff
minor fix in do_function_symmetric_gradients
authorDenis Davydov <davydden@gmail.com>
Sun, 1 Mar 2015 16:26:25 +0000 (17:26 +0100)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 8 May 2015 16:23:51 +0000 (11:23 -0500)
source/fe/fe_values.cc

index 59c9cbfe44740e414ca726532c45623cf873d8e6..152001199b631ff4e38c21f50c6d34fcdf7c98e9 100644 (file)
@@ -689,7 +689,7 @@ namespace FEValuesViews
           else
             for (unsigned int q_point=0; q_point<n_quadrature_points; ++q_point)
               {
-                dealii::Tensor<2,spacedim,Number> grad;
+                typename ProductType<Number,dealii::Tensor<2,spacedim> >::type grad;
                 for (unsigned int d=0; d<spacedim; ++d)
                   if (shape_function_data[shape_function].is_nonzero_shape_function_component[d])
                     grad[d] = value *

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.