diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-08-03 21:52:29 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-08-03 21:52:29 -0700 |
commit | cbce0e3b126754df9eb8cb2badb27520ff0ca1a0 (patch) | |
tree | 138888d3fa72053bdaab92a914fef4ab1801d572 | |
parent | a5dc49e7e86b838d43770add51c3ca5ef9cdd296 (diff) |
Fixed compilation warning
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h index 52f3ad76e..d6ec62a74 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h @@ -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); } |