mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
add accessors to coeff based product
This commit is contained in:
parent
5686eca7b1
commit
d104d2cd29
@ -182,6 +182,9 @@ class CoeffBasedProduct
|
|||||||
return m_result;
|
return m_result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const _LhsNested& lhs() const { return m_lhs; }
|
||||||
|
const _RhsNested& rhs() const { return m_rhs; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
const LhsNested m_lhs;
|
const LhsNested m_lhs;
|
||||||
const RhsNested m_rhs;
|
const RhsNested m_rhs;
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
static int nb_temporaries;
|
static int nb_temporaries;
|
||||||
|
|
||||||
#define EIGEN_DEBUG_MATRIX_CTOR { \
|
#define EIGEN_DEBUG_MATRIX_CTOR { \
|
||||||
if(SizeAtCompileTime==Dynamic) \
|
if(SizeAtCompileTime==Dynamic && this->data()!=0) \
|
||||||
nb_temporaries++; \
|
nb_temporaries++; \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user