mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-24 02:29:33 +08:00
Fixed another compilation warning
This commit is contained in:
parent
7dfe75f445
commit
20e2ab1121
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user