improve the new experimental sparse product

This commit is contained in:
Gael Guennebaud
2010-01-05 19:56:59 +01:00
parent eda4e98c61
commit 023e0dfb4e
2 changed files with 66 additions and 41 deletions

View File

@@ -450,6 +450,12 @@ class SparseMatrix
return *this;
}
template<typename Lhs, typename Rhs>
inline SparseMatrix& operator=(const SparseProduct<Lhs,Rhs>& product)
{
return Base::operator=(product);
}
template<typename OtherDerived>
EIGEN_DONT_INLINE SparseMatrix& operator=(const SparseMatrixBase<OtherDerived>& other)
{