mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-10-14 00:51:28 +08:00
fix implicit conversion warning (again)
This commit is contained in:
parent
d052b7f864
commit
7ad7c1d5c5
@ -177,7 +177,7 @@ struct TensorEvaluator<const TensorChippingOp<DimId, ArgType>, Device> {
|
|||||||
// Check if chipping is effectively inner or outer: products of dimensions
|
// Check if chipping is effectively inner or outer: products of dimensions
|
||||||
// before or after the chipped dimension is `1`.
|
// before or after the chipped dimension is `1`.
|
||||||
Index after_chipped_dim_product = 1;
|
Index after_chipped_dim_product = 1;
|
||||||
for (int i = m_dim.actualDim() + 1; i < NumInputDims; ++i) {
|
for (int i = static_cast<int>(m_dim.actualDim()) + 1; i < NumInputDims; ++i) {
|
||||||
after_chipped_dim_product *= input_dims[i];
|
after_chipped_dim_product *= input_dims[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user