This commit is contained in:
Hauke Heibel
2010-06-14 14:33:10 +02:00
parent 8673f68fd8
commit a54772250f
2 changed files with 10 additions and 0 deletions

View File

@@ -536,4 +536,11 @@ EIGEN_STRONG_INLINE Derived& MatrixBase<Derived>::operator=(const MatrixBase& ot
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