From 39142904cc2301628931481e8b331cc2d567e22f Mon Sep 17 00:00:00 2001 From: jangsoopark Date: Wed, 8 Apr 2020 14:55:39 +0900 Subject: Resolve C4346 when building eigen on windows --- unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unsupported/Eigen/CXX11') 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 + template 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 + template 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, -- cgit v1.2.3