diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-12-07 16:17:57 -0800 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-12-07 16:17:57 -0800 |
commit | 20e2ab1121b0727dadcf886df12ab9e79d0c8c17 (patch) | |
tree | 3791d00fafd8c95e9e3bbb84cfd5cb4ec0df2fc7 /unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h | |
parent | 7dfe75f445835baff18bbe82ba7253f7563cbdc6 (diff) |
Fixed another compilation warning
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h index f49e2b260..eda93a1de 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h @@ -647,7 +647,7 @@ struct TensorContractionEvaluatorBase eigen_assert(size == eval_right_dims[right] && "Contraction axes must be same size"); - if (i+1 < internal::array_size<contract_t>::value) { + if (i+1 < static_cast<int>(internal::array_size<contract_t>::value)) { m_k_strides[i+1] = m_k_strides[i] * size; } else { m_k_size = m_k_strides[i] * size; |