Resolve C4346 when building eigen on windows

This commit is contained in:
jangsoopark 2020-04-08 14:55:39 +09:00
parent f0577a2bfd
commit 39142904cc

View File

@ -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,