mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-14 09:01:47 +08:00
Fixes bug #123.
This commit is contained in:
parent
8673f68fd8
commit
a54772250f
@ -536,4 +536,11 @@ EIGEN_STRONG_INLINE Derived& MatrixBase<Derived>::operator=(const MatrixBase& ot
|
|||||||
return ei_assign_selector<Derived,Derived>::run(derived(), other.derived());
|
return ei_assign_selector<Derived,Derived>::run(derived(), other.derived());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template<typename Derived>
|
||||||
|
template <typename OtherDerived>
|
||||||
|
EIGEN_STRONG_INLINE Derived& MatrixBase<Derived>::operator=(const MatrixBase<OtherDerived>& other)
|
||||||
|
{
|
||||||
|
return ei_assign_selector<Derived,OtherDerived>::run(derived(), other.derived());
|
||||||
|
}
|
||||||
|
|
||||||
#endif // EIGEN_ASSIGN_H
|
#endif // EIGEN_ASSIGN_H
|
||||||
|
@ -153,6 +153,9 @@ template<typename Derived> class MatrixBase
|
|||||||
*/
|
*/
|
||||||
Derived& operator=(const MatrixBase& other);
|
Derived& operator=(const MatrixBase& other);
|
||||||
|
|
||||||
|
template <typename OtherDerived>
|
||||||
|
Derived& operator=(const MatrixBase<OtherDerived>& other);
|
||||||
|
|
||||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||||
template<typename ProductDerived, typename Lhs, typename Rhs>
|
template<typename ProductDerived, typename Lhs, typename Rhs>
|
||||||
Derived& lazyAssign(const ProductBase<ProductDerived, Lhs,Rhs>& other);
|
Derived& lazyAssign(const ProductBase<ProductDerived, Lhs,Rhs>& other);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user