From f6282e451a8d4249a2a93c98e7ba438a0687722e Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Fri, 24 Jul 2015 17:35:47 -0700 Subject: Fixed a typo in an assertion. --- unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h') 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, Device> EIGEN_STATIC_ASSERT((static_cast(TensorEvaluator::Layout) == static_cast(TensorEvaluator::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; -- cgit v1.2.3