1
0
mirror of https://gitlab.com/libeigen/eigen.git synced 2025-09-19 04:43:13 +08:00

Fixed a typo in the contraction code

This commit is contained in:
Benoit Steiner 2014-09-06 13:28:24 -07:00
parent 74db22455a
commit efdff15749

@ -168,7 +168,7 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT
}
// Scalar case
if (TensorEvaluator<LeftArgType, Device>::Dimensions::count + TensorEvaluator<LeftArgType, Device>::Dimensions::count == 2 * internal::array_size<Indices>::value) {
if (TensorEvaluator<LeftArgType, Device>::Dimensions::count + TensorEvaluator<RightArgType, Device>::Dimensions::count == 2 * internal::array_size<Indices>::value) {
m_dimensions[0] = 1;
}
}