From 9309a9670513bbfdd7fda3a84f1510ff681a846c Mon Sep 17 00:00:00 2001 From: Mathias Anselmann Date: Fri, 21 May 2021 21:21:38 +0200 Subject: [PATCH] fixec preprocessor directive --- include/deal.II/base/tensor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.39.5