diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-07-24 17:35:47 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-07-24 17:35:47 -0700 |
commit | f6282e451a8d4249a2a93c98e7ba438a0687722e (patch) | |
tree | 72744d185f8f3dab99f041c4d2c49648672b9e40 /unsupported/Eigen/CXX11/src | |
parent | 4b3052c54d14f486c2665530f06cdeff636169e4 (diff) |
Fixed a typo in an assertion.
Diffstat (limited to 'unsupported/Eigen/CXX11/src')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h b/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h index a4f73b2a1..7f5cfb9dd 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h @@ -106,7 +106,7 @@ struct TensorEvaluator<const TensorAssignOp<LeftArgType, RightArgType>, Device> EIGEN_STATIC_ASSERT((static_cast<int>(TensorEvaluator<LeftArgType, Device>::Layout) == static_cast<int>(TensorEvaluator<RightArgType, Device>::Layout)), YOU_MADE_A_PROGRAMMING_MISTAKE); // The dimensions of the lhs and the rhs tensors should be equal to prevent // overflows and ensure the result is fully initialized. - eigen_assert(dimensions_match(m_leftImpl.dimensions(), m_leftImpl.dimensions())); + eigen_assert(dimensions_match(m_leftImpl.dimensions(), m_rightImpl.dimensions())); } typedef typename XprType::Index Index; |