]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix number type in make_vectorized_array inside get_symmetric_gradient 5257/head
authorMichał Wichrowski <mtwichrowski@gmail.com>
Tue, 17 Oct 2017 10:41:03 +0000 (12:41 +0200)
committerMichał Wichrowski <mtwichrowski@gmail.com>
Tue, 17 Oct 2017 10:41:03 +0000 (12:41 +0200)
include/deal.II/matrix_free/fe_evaluation.h

index 1170a3075db8cb32b984b0334c63c52dd637910b..51565668f881c6528dd6b727860c0d1bef044428 100644 (file)
@@ -4575,7 +4575,7 @@ FEEvaluationAccess<dim,dim,Number>
   // copy from generic function into dim-specialization function
   const Tensor<2,dim,VectorizedArray<Number> > grad = get_gradient(q_point);
   VectorizedArray<Number> symmetrized [(dim*dim+dim)/2];
-  VectorizedArray<Number> half = make_vectorized_array (0.5);
+  VectorizedArray<Number> half = make_vectorized_array<Number> (0.5);
   for (unsigned int d=0; d<dim; ++d)
     symmetrized[d] = grad[d][d];
   switch (dim)

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.