]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fixec preprocessor directive
authorMathias Anselmann <mathias.anselmann@posteo.de>
Fri, 21 May 2021 19:21:38 +0000 (21:21 +0200)
committerMathias Anselmann <mathias.anselmann@posteo.de>
Fri, 21 May 2021 19:21:38 +0000 (21:21 +0200)
include/deal.II/base/tensor.h

index ff2975cb1a20aa0e8ae8e753115599f7668564f6..16129ef75ad3b8dd86ddb01bb811c0ff3dd5e788 100644 (file)
@@ -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 <int dim, typename Number>
 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<rank_, dim, Number>::
 }
 
 
-#  if __GNUC__ >= 11 || defined __INTEL_COMPILER
+#if __GNUC__ >= 11 || defined __INTEL_COMPILER
 template <int rank_, int dim, typename Number>
 constexpr DEAL_II_ALWAYS_INLINE
 Tensor<rank_, dim, Number>::Tensor(const Tensor<rank_, dim, Number> &other)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.