mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-22 21:04:28 +08:00
Resolve C4346 when building eigen on windows
This commit is contained in:
parent
f0577a2bfd
commit
39142904cc
@ -1025,7 +1025,7 @@ class StridedLinearBufferCopy {
|
|||||||
const Scalar* data;
|
const Scalar* data;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <StridedLinearBufferCopy::Kind kind>
|
template <typename StridedLinearBufferCopy::Kind kind>
|
||||||
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void Run(const Dst& dst,
|
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void Run(const Dst& dst,
|
||||||
const Src& src,
|
const Src& src,
|
||||||
const size_t count) {
|
const size_t count) {
|
||||||
@ -1034,7 +1034,7 @@ class StridedLinearBufferCopy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
template <StridedLinearBufferCopy::Kind kind>
|
template <typename StridedLinearBufferCopy::Kind kind>
|
||||||
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void Run(
|
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void Run(
|
||||||
const IndexType count, const IndexType dst_offset,
|
const IndexType count, const IndexType dst_offset,
|
||||||
const IndexType dst_stride, Scalar* EIGEN_RESTRICT dst_data,
|
const IndexType dst_stride, Scalar* EIGEN_RESTRICT dst_data,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user