mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-30 15:54:13 +08:00
Add missing ctor from uint
This commit is contained in:
parent
25f2b8d824
commit
978c379ed7
@ -38,6 +38,8 @@ struct TensorUInt128
|
|||||||
eigen_assert(x >= 0);
|
eigen_assert(x >= 0);
|
||||||
}
|
}
|
||||||
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
|
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
|
||||||
|
TensorUInt128(unsigned int x) : high(0), low(x) { }
|
||||||
|
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
|
||||||
TensorUInt128(int64_t x) : high(0), low(x) {
|
TensorUInt128(int64_t x) : high(0), low(x) {
|
||||||
eigen_assert(x >= 0);
|
eigen_assert(x >= 0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user