mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-30 15:54:13 +08:00
Fixed a typo in an assertion.
This commit is contained in:
parent
4b3052c54d
commit
f6282e451a
@ -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);
|
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
|
// The dimensions of the lhs and the rhs tensors should be equal to prevent
|
||||||
// overflows and ensure the result is fully initialized.
|
// 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;
|
typedef typename XprType::Index Index;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user