aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/Tensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/Tensor.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/Tensor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/Tensor.h b/unsupported/Eigen/CXX11/src/Tensor/Tensor.h
index e125ca799..0e8a4b8d6 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/Tensor.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/Tensor.h
@@ -369,7 +369,7 @@ class Tensor : public TensorBase<Tensor<Scalar_, NumIndices_, Options_> >
void resize(const DSizes<Index, NumIndices>& dimensions) {
array<Index, NumIndices> dims;
- for (int i = 0; i < NumIndices; ++i) {
+ for (std::size_t i = 0; i < NumIndices; ++i) {
dims[i] = dimensions[i];
}
resize(dims);