fix compilation with MSVC

This commit is contained in:
Gael Guennebaud 2011-02-03 17:23:33 +01:00
parent 4489c56c9e
commit 1526de96a0

View File

@ -245,10 +245,10 @@ class DynamicSparseMatrix
}
template<typename OtherDerived>
inline DynamicSparseMatrix(const SparseMatrixBase<OtherDerived>& other)
explicit inline DynamicSparseMatrix(const SparseMatrixBase<OtherDerived>& other)
: m_innerSize(0)
{
*this = other.derived();
Base::operator=(other.derived());
}
inline DynamicSparseMatrix(const DynamicSparseMatrix& other)