From cde128f49d919bb7646e6245bd4de01a1a0063fa Mon Sep 17 00:00:00 2001 From: Jean-Paul Pelteret Date: Sat, 3 Feb 2018 09:24:19 +0100 Subject: [PATCH] Remove a template parameter specifying the number type of a tensor. This will prevent premature casting of one tensor type into another; this operation is now taken up in the more general Tensor::operator*. --- source/fe/fe_values.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/fe/fe_values.cc b/source/fe/fe_values.cc index 686d6c35c9..8d73901763 100644 --- a/source/fe/fe_values.cc +++ b/source/fe/fe_values.cc @@ -2892,7 +2892,7 @@ namespace internal = &shape_derivatives[shape_func][0]; for (unsigned int point=0; point(*shape_derivative_ptr++); + dealii::Tensor(*shape_derivative_ptr++); } } @@ -2965,11 +2965,11 @@ namespace internal if (quadrature_points_fastest) for (unsigned int point=0; point(*shape_derivative_ptr++); + dealii::Tensor(*shape_derivative_ptr++); else for (unsigned int point=0; point(*shape_derivative_ptr++); + dealii::Tensor(*shape_derivative_ptr++); } else for (unsigned int c=0; c(*shape_derivative_ptr++); + dealii::Tensor(*shape_derivative_ptr++); else for (unsigned int point=0; point(*shape_derivative_ptr++); + dealii::Tensor(*shape_derivative_ptr++); } } } -- 2.39.5