Fix bug #611: fix const qualifier in cwiseProduct(sparse,dense) and SparseDiagonalProduct::InnerIterator

This commit is contained in:
Gael Guennebaud
2013-06-28 17:10:53 +02:00
parent a915f0292e
commit fc27cbd914
3 changed files with 18 additions and 10 deletions

View File

@@ -322,8 +322,8 @@ template<typename Derived> class SparseMatrixBase : public EigenBase<Derived>
typename internal::traits<OtherDerived>::Scalar \
>::ReturnType \
>, \
Derived, \
OtherDerived \
const Derived, \
const OtherDerived \
>
template<typename OtherDerived>