From: Daniel Arndt Date: Wed, 7 Aug 2019 21:03:38 +0000 (-0600) Subject: Address more comments X-Git-Tag: v9.2.0-rc1~1208^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76ceab6d528756041d6e82d27c729b90b79c6934;p=dealii.git Address more comments --- diff --git a/include/deal.II/base/tensor.h b/include/deal.II/base/tensor.h index 49725bfcee..36fca103da 100644 --- a/include/deal.II/base/tensor.h +++ b/include/deal.II/base/tensor.h @@ -1564,7 +1564,7 @@ operator<<(std::ostream &out, const Tensor<0, dim, Number> &p) * @relatesalso Tensor<0,dim,Number> */ template -DEAL_II_CONSTEXPR DEAL_II_CUDA_HOST_DEV DEAL_II_ALWAYS_INLINE +DEAL_II_CONSTEXPR DEAL_II_CUDA_HOST_DEV inline DEAL_II_ALWAYS_INLINE typename ProductType::type operator*(const Other &object, const Tensor<0, dim, Number> &t) { @@ -1584,7 +1584,7 @@ DEAL_II_CONSTEXPR DEAL_II_CUDA_HOST_DEV DEAL_II_ALWAYS_INLINE * @relatesalso Tensor<0,dim,Number> */ template -DEAL_II_CONSTEXPR DEAL_II_CUDA_HOST_DEV DEAL_II_ALWAYS_INLINE +DEAL_II_CONSTEXPR DEAL_II_CUDA_HOST_DEV inline DEAL_II_ALWAYS_INLINE typename ProductType::type operator*(const Tensor<0, dim, Number> &t, const Other &object) { @@ -1708,12 +1708,12 @@ DEAL_II_CONSTEXPR DEAL_II_CUDA_HOST_DEV inline DEAL_II_ALWAYS_INLINE * @relatesalso Tensor */ template -DEAL_II_CUDA_HOST_DEV DEAL_II_CONSTEXPR DEAL_II_ALWAYS_INLINE - Tensor::type, OtherNumber>::type> - operator*(const Number &factor, const Tensor &t) + operator*(const Number &factor, const Tensor &t) { // simply forward to the operator above return t * factor; @@ -2146,7 +2146,7 @@ template