mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 03:09:01 +08:00
fix compilation of product_mmtr
This commit is contained in:
parent
fb6d9ca951
commit
d8396a8da0
@ -78,7 +78,7 @@ class ProductBase : public MatrixBase<Derived>
|
|||||||
public:
|
public:
|
||||||
typedef MatrixBase<Derived> Base;
|
typedef MatrixBase<Derived> Base;
|
||||||
EIGEN_DENSE_PUBLIC_INTERFACE(ProductBase)
|
EIGEN_DENSE_PUBLIC_INTERFACE(ProductBase)
|
||||||
protected:
|
|
||||||
typedef typename Lhs::Nested LhsNested;
|
typedef typename Lhs::Nested LhsNested;
|
||||||
typedef typename internal::remove_all<LhsNested>::type _LhsNested;
|
typedef typename internal::remove_all<LhsNested>::type _LhsNested;
|
||||||
typedef internal::blas_traits<_LhsNested> LhsBlasTraits;
|
typedef internal::blas_traits<_LhsNested> LhsBlasTraits;
|
||||||
@ -239,6 +239,8 @@ class ScaledProduct
|
|||||||
|
|
||||||
template<typename Dest>
|
template<typename Dest>
|
||||||
inline void scaleAndAddTo(Dest& dst,Scalar alpha) const { m_prod.derived().scaleAndAddTo(dst,alpha); }
|
inline void scaleAndAddTo(Dest& dst,Scalar alpha) const { m_prod.derived().scaleAndAddTo(dst,alpha); }
|
||||||
|
|
||||||
|
const Scalar& alpha() const { return m_alpha; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
const NestedProduct& m_prod;
|
const NestedProduct& m_prod;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user