diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2014-09-06 13:28:24 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2014-09-06 13:28:24 -0700 |
commit | efdff157493826bbcc023a85e08596fd58d7997a (patch) | |
tree | bdac64b5f4d3b08062b2ee21b43e1afcd1f927aa /unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h | |
parent | 74db22455ae0172faaae91321da0b303bb82369d (diff) |
Fixed a typo in the contraction code
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 897d73806..46624724c 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h @@ -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; } } |