mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Much more NestByValue cleanup.
This commit is contained in:
@@ -440,7 +440,7 @@ template<typename ExpressionType, int Direction> class VectorwiseOp
|
||||
operator+(const MatrixBase<OtherDerived>& other) const
|
||||
{
|
||||
EIGEN_STATIC_ASSERT_VECTOR_ONLY(OtherDerived);
|
||||
return m_matrix + extendedTo(other).nestByValue();
|
||||
return m_matrix + extendedTo(other);
|
||||
}
|
||||
|
||||
/** Returns the expression of the difference between each subvector of \c *this and the vector \a other */
|
||||
@@ -451,7 +451,7 @@ template<typename ExpressionType, int Direction> class VectorwiseOp
|
||||
operator-(const MatrixBase<OtherDerived>& other) const
|
||||
{
|
||||
EIGEN_STATIC_ASSERT_VECTOR_ONLY(OtherDerived);
|
||||
return m_matrix - extendedTo(other).nestByValue();
|
||||
return m_matrix - extendedTo(other);
|
||||
}
|
||||
|
||||
/////////// Geometry module ///////////
|
||||
|
||||
Reference in New Issue
Block a user