mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
bug #857: workaround MSVC compilation issue.
This commit is contained in:
parent
2e50289ba3
commit
be3477e206
@ -318,15 +318,6 @@ class DenseTimeSparseProduct
|
|||||||
DenseTimeSparseProduct& operator=(const DenseTimeSparseProduct&);
|
DenseTimeSparseProduct& operator=(const DenseTimeSparseProduct&);
|
||||||
};
|
};
|
||||||
|
|
||||||
// sparse * dense
|
|
||||||
template<typename Derived>
|
|
||||||
template<typename OtherDerived>
|
|
||||||
inline const typename SparseDenseProductReturnType<Derived,OtherDerived>::Type
|
|
||||||
SparseMatrixBase<Derived>::operator*(const MatrixBase<OtherDerived> &other) const
|
|
||||||
{
|
|
||||||
return typename SparseDenseProductReturnType<Derived,OtherDerived>::Type(derived(), other.derived());
|
|
||||||
}
|
|
||||||
|
|
||||||
} // end namespace Eigen
|
} // end namespace Eigen
|
||||||
|
|
||||||
#endif // EIGEN_SPARSEDENSEPRODUCT_H
|
#endif // EIGEN_SPARSEDENSEPRODUCT_H
|
||||||
|
@ -358,7 +358,8 @@ template<typename Derived> class SparseMatrixBase : public EigenBase<Derived>
|
|||||||
/** sparse * dense (returns a dense object unless it is an outer product) */
|
/** sparse * dense (returns a dense object unless it is an outer product) */
|
||||||
template<typename OtherDerived>
|
template<typename OtherDerived>
|
||||||
const typename SparseDenseProductReturnType<Derived,OtherDerived>::Type
|
const typename SparseDenseProductReturnType<Derived,OtherDerived>::Type
|
||||||
operator*(const MatrixBase<OtherDerived> &other) const;
|
operator*(const MatrixBase<OtherDerived> &other) const
|
||||||
|
{ return typename SparseDenseProductReturnType<Derived,OtherDerived>::Type(derived(), other.derived()); }
|
||||||
|
|
||||||
/** \returns an expression of P H P^-1 where H is the matrix represented by \c *this */
|
/** \returns an expression of P H P^-1 where H is the matrix represented by \c *this */
|
||||||
SparseSymmetricPermutationProduct<Derived,Upper|Lower> twistedBy(const PermutationMatrix<Dynamic,Dynamic,Index>& perm) const
|
SparseSymmetricPermutationProduct<Derived,Upper|Lower> twistedBy(const PermutationMatrix<Dynamic,Dynamic,Index>& perm) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user