fix bug #221: remove the dense to SparseVector conversion ctor.

This commit is contained in:
Gael Guennebaud 2011-12-04 21:15:46 +01:00
parent 5dc9650f11
commit 69966e90e1

View File

@ -205,13 +205,6 @@ class SparseVector
inline SparseVector(Index rows, Index cols) : m_size(0) { resize(rows,cols); }
template<typename OtherDerived>
inline SparseVector(const MatrixBase<OtherDerived>& other)
: m_size(0)
{
*this = other.derived();
}
template<typename OtherDerived>
inline SparseVector(const SparseMatrixBase<OtherDerived>& other)
: m_size(0)