mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-25 06:14:26 +08:00
Add missing support for x.noalias() = ReturnByValue<...>
This commit is contained in:
parent
fcdbfabf7a
commit
43bb942365
@ -80,6 +80,10 @@ class NoAlias
|
|||||||
template<typename Lhs, typename Rhs, int NestingFlags>
|
template<typename Lhs, typename Rhs, int NestingFlags>
|
||||||
EIGEN_STRONG_INLINE ExpressionType& operator-=(const CoeffBasedProduct<Lhs,Rhs,NestingFlags>& other)
|
EIGEN_STRONG_INLINE ExpressionType& operator-=(const CoeffBasedProduct<Lhs,Rhs,NestingFlags>& other)
|
||||||
{ return m_expression.derived() -= CoeffBasedProduct<Lhs,Rhs,NestByRefBit>(other.lhs(), other.rhs()); }
|
{ return m_expression.derived() -= CoeffBasedProduct<Lhs,Rhs,NestByRefBit>(other.lhs(), other.rhs()); }
|
||||||
|
|
||||||
|
template<typename OtherDerived>
|
||||||
|
ExpressionType& operator=(const ReturnByValue<OtherDerived>& func)
|
||||||
|
{ return m_expression = func; }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ExpressionType& expression() const
|
ExpressionType& expression() const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user