From a4aa7c62177ec333b91e186b10abff3bbb573077 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Tue, 30 Jun 2015 10:36:17 -0700 Subject: Fixed a few compilation warnings --- unsupported/Eigen/CXX11/src/Tensor/Tensor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/Tensor.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/Tensor.h b/unsupported/Eigen/CXX11/src/Tensor/Tensor.h index 24953ec94..bd83c7c5c 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +++ b/unsupported/Eigen/CXX11/src/Tensor/Tensor.h @@ -380,7 +380,7 @@ class Tensor : public TensorBase& dimensions) { array dims; - for (int i = 0; i < NumIndices; ++i) { + for (std::size_t i = 0; i < NumIndices; ++i) { dims[i] = dimensions[i]; } resize(dims); @@ -390,7 +390,7 @@ class Tensor : public TensorBase& dimensions) { array dims; - for (int i = 0; i < NumIndices; ++i) { + for (std::size_t i = 0; i < NumIndices; ++i) { dims[i] = dimensions[i]; } resize(dims); -- cgit v1.2.3