diff options
author | jangsoopark <jspark@ivstech.co.kr> | 2020-04-08 14:55:39 +0900 |
---|---|---|
committer | jangsoopark <jspark@ivstech.co.kr> | 2020-04-08 14:55:39 +0900 |
commit | 39142904cc2301628931481e8b331cc2d567e22f (patch) | |
tree | 9e0cece1e45fbc24a6ce1f78cdc324e319e9e52a /unsupported/Eigen/CXX11 | |
parent | f0577a2bfd5267a3eb216f4c8797ad0054dec34b (diff) |
Resolve C4346 when building eigen on windows
Diffstat (limited to 'unsupported/Eigen/CXX11')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h b/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h index af30ea3d3..1e55d12c4 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h @@ -1025,7 +1025,7 @@ class StridedLinearBufferCopy { const Scalar* data; }; - template <StridedLinearBufferCopy::Kind kind> + template <typename StridedLinearBufferCopy::Kind kind> static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void Run(const Dst& dst, const Src& src, const size_t count) { @@ -1034,7 +1034,7 @@ class StridedLinearBufferCopy { } private: - template <StridedLinearBufferCopy::Kind kind> + template <typename StridedLinearBufferCopy::Kind kind> static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void Run( const IndexType count, const IndexType dst_offset, const IndexType dst_stride, Scalar* EIGEN_RESTRICT dst_data, |