diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-02-28 02:32:46 -0800 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-02-28 02:32:46 -0800 |
commit | bb483313f6a9c69e15ad5e668368eb5f80adf8f7 (patch) | |
tree | e0e4f71ad3374cc903f172b2b2b3a33f29fa4c61 /unsupported/test/cxx11_tensor_of_complex.cpp | |
parent | fb53384b0f8e3d2ef6e7ec9a4e51c27142ef880c (diff) |
Fixed another batch of compilation warnings
Diffstat (limited to 'unsupported/test/cxx11_tensor_of_complex.cpp')
-rw-r--r-- | unsupported/test/cxx11_tensor_of_complex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/test/cxx11_tensor_of_complex.cpp b/unsupported/test/cxx11_tensor_of_complex.cpp index 24b2bcb58..8ad04f699 100644 --- a/unsupported/test/cxx11_tensor_of_complex.cpp +++ b/unsupported/test/cxx11_tensor_of_complex.cpp @@ -67,7 +67,7 @@ static void test_contractions() Eigen::array<DimPair, 2> dims({{DimPair(2, 0), DimPair(3, 1)}}); t_result = t_left.contract(t_right, dims); m_result = m_left * m_right; - for (size_t i = 0; i < t_result.dimensions().TotalSize(); i++) { + for (int i = 0; i < t_result.dimensions().TotalSize(); i++) { VERIFY_IS_APPROX(t_result.data()[i], m_result.data()[i]); } } |