* @note This function can also be used in CUDA device code.
*/
constexpr DEAL_II_ALWAYS_INLINE DEAL_II_CUDA_HOST_DEV
- Tensor()
- // We would like to use =default, but this causes compile errors with some
- // MSVC versions and internal compiler errors with -O1 in gcc 5.4.
- : values{}
- {}
+ Tensor();
/**
* A constructor where the data is copied from a C-style array.
}
+
+template <int rank_, int dim, typename Number>
+constexpr DEAL_II_ALWAYS_INLINE DEAL_II_CUDA_HOST_DEV
+ Tensor<rank_, dim, Number>::Tensor()
+ // We would like to use =default, but this causes compile errors with some
+ // MSVC versions and internal compiler errors with -O1 in gcc 5.4.
+ : values{}
+{}
+
+
+
template <int rank_, int dim, typename Number>
constexpr DEAL_II_ALWAYS_INLINE DEAL_II_CUDA_HOST_DEV
Tensor<rank_, dim, Number>::Tensor(const array_type &initializer)