Make KroneckerProductSparse inherit EigenBase instead of SparseMatrixBase, for it does not provide an InnerIterator.

This commit is contained in:
Chen-Pang He
2012-10-25 02:09:48 +08:00
parent 204a09cb82
commit 8321b7ae74
4 changed files with 23 additions and 31 deletions

View File

@@ -259,9 +259,6 @@ template<typename Derived> class SparseMatrixBase : public EigenBase<Derived>
template<typename Lhs, typename Rhs>
inline Derived& operator=(const SparseSparseProduct<Lhs,Rhs>& product);
template<typename Lhs, typename Rhs>
inline Derived& operator=(const KroneckerProductSparse<Lhs,Rhs>& product);
friend std::ostream & operator << (std::ostream & s, const SparseMatrixBase& m)
{
typedef typename Derived::Nested Nested;