add missing overload of operator= in SparseVector

This commit is contained in:
Gael Guennebaud 2010-06-12 01:01:12 +02:00
parent f5b1b6b351
commit a25749ade9

View File

@ -245,6 +245,14 @@ class SparseVector
return Base::operator=(other);
}
#ifndef EIGEN_PARSED_BY_DOXYGEN
template<typename Lhs, typename Rhs>
inline SparseVector& operator=(const SparseProduct<Lhs,Rhs>& product)
{
return Base::operator=(product);
}
#endif
// const bool needToTranspose = (Flags & RowMajorBit) != (OtherDerived::Flags & RowMajorBit);
// if (needToTranspose)
// {