From: Matthias Maier Date: Thu, 27 Aug 2015 04:07:58 +0000 (-0500) Subject: Bugfix: Use Tensor<...,Number>() instead of Tensor<...>() X-Git-Tag: v8.4.0-rc2~541^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1442%2Fhead;p=dealii.git Bugfix: Use Tensor<...,Number>() instead of Tensor<...>() --- diff --git a/include/deal.II/base/tensor_function.templates.h b/include/deal.II/base/tensor_function.templates.h index 6e1981e6b9..2b89d87980 100644 --- a/include/deal.II/base/tensor_function.templates.h +++ b/include/deal.II/base/tensor_function.templates.h @@ -43,7 +43,7 @@ typename TensorFunction::value_type TensorFunction::value (const Point &) const { Assert (false, ExcPureFunctionCalled()); - return Tensor(); + return Tensor(); } @@ -66,7 +66,7 @@ typename TensorFunction::gradient_type TensorFunction::gradient (const Point &) const { Assert (false, ExcPureFunctionCalled()); - return Tensor(); + return Tensor(); } @@ -128,7 +128,7 @@ template typename TensorFunction::gradient_type ConstantTensorFunction::gradient (const Point &) const { - static const Tensor zero; + static const Tensor zero; return zero; } @@ -144,7 +144,7 @@ ConstantTensorFunction::gradient_list ( Assert (gradients.size() == points.size(), ExcDimensionMismatch(gradients.size(), points.size())); - static const Tensor zero; + static const Tensor zero; for (unsigned int i=0; i