From: Mathias Anselmann Date: Fri, 21 May 2021 19:21:38 +0000 (+0200) Subject: fixec preprocessor directive X-Git-Tag: v9.3.0-rc1~8^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9309a9670513bbfdd7fda3a84f1510ff681a846c;p=dealii.git fixec preprocessor directive --- diff --git a/include/deal.II/base/tensor.h b/include/deal.II/base/tensor.h index ff2975cb1a..16129ef75a 100644 --- a/include/deal.II/base/tensor.h +++ b/include/deal.II/base/tensor.h @@ -157,7 +157,6 @@ public: constexpr DEAL_II_CUDA_HOST_DEV Tensor(const Tensor<0, dim, OtherNumber> &initializer); -#if __GNUC__ >= 11 || defined __INTEL_COMPILER /** * Constructor, where the data is copied from a C-style array. * @@ -167,6 +166,7 @@ public: constexpr DEAL_II_CUDA_HOST_DEV Tensor(const OtherNumber &initializer); +#if __GNUC__ >= 11 || defined __INTEL_COMPILER /** * Copy constructor */ @@ -923,7 +923,7 @@ constexpr DEAL_II_ALWAYS_INLINE DEAL_II_CUDA_HOST_DEV -# if __GNUC__ >= 11 || defined __INTEL_COMPILER +#if __GNUC__ >= 11 || defined __INTEL_COMPILER template constexpr DEAL_II_ALWAYS_INLINE DEAL_II_CUDA_HOST_DEV Tensor<0, dim, Number>::Tensor(const Tensor<0, dim, Number> &other) @@ -1282,7 +1282,7 @@ constexpr DEAL_II_ALWAYS_INLINE Tensor:: } -# if __GNUC__ >= 11 || defined __INTEL_COMPILER +#if __GNUC__ >= 11 || defined __INTEL_COMPILER template constexpr DEAL_II_ALWAYS_INLINE Tensor::Tensor(const Tensor &other)