mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-30 15:54:13 +08:00
Fixed compilation warning
This commit is contained in:
parent
a5dc49e7e8
commit
cbce0e3b12
@ -129,7 +129,7 @@ struct Sizes : internal::numeric_list<std::ptrdiff_t, Indices...> {
|
||||
return *this;
|
||||
}
|
||||
|
||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::ptrdiff_t operator[] (const int index) const {
|
||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::ptrdiff_t operator[] (const std::size_t index) const {
|
||||
return internal::fixed_size_tensor_index_extraction_helper<std::ptrdiff_t, Base::count - 1>::run(index, *this);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user