diff --git a/Eigen/src/SparseCore/SparseSelfAdjointView.h b/Eigen/src/SparseCore/SparseSelfAdjointView.h index 60fcf3f40..d364c81df 100644 --- a/Eigen/src/SparseCore/SparseSelfAdjointView.h +++ b/Eigen/src/SparseCore/SparseSelfAdjointView.h @@ -75,7 +75,7 @@ template class SparseSelfAdjointView * Indeed, the SparseSelfadjointView operand is first copied into a temporary SparseMatrix before computing the product. */ template - SparseSparseProduct::Flags&RowMajorBit) ? RowMajor : ColMajor,Index>, OtherDerived> + SparseSparseProduct::Flags&RowMajorBit) ? RowMajor : ColMajor),Index>, OtherDerived> operator*(const SparseMatrixBase& rhs) const { return SparseSparseProduct::Flags&RowMajorBit) ? RowMajor : ColMajor, Index>, OtherDerived>(*this, rhs.derived()); @@ -87,7 +87,7 @@ template class SparseSelfAdjointView * Indeed, the SparseSelfadjointView operand is first copied into a temporary SparseMatrix before computing the product. */ template friend - SparseSparseProduct::Flags&RowMajorBit) ? RowMajor : ColMajor,Index> > + SparseSparseProduct::Flags&RowMajorBit) ? RowMajor : ColMajor),Index> > operator*(const SparseMatrixBase& lhs, const SparseSelfAdjointView& rhs) { return SparseSparseProduct< OtherDerived, SparseMatrix::Flags&RowMajorBit) ? RowMajor : ColMajor, Index> >(lhs.derived(), rhs.derived());