mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-18 14:34:17 +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;
|
||||
}
|
||||
|
||||
const _LhsNested& lhs() const { return m_lhs; }
|
||||
const _RhsNested& rhs() const { return m_rhs; }
|
||||
|
||||
protected:
|
||||
const LhsNested m_lhs;
|
||||
const RhsNested m_rhs;
|
||||
|
@ -25,7 +25,7 @@
|
||||
static int nb_temporaries;
|
||||
|
||||
#define EIGEN_DEBUG_MATRIX_CTOR { \
|
||||
if(SizeAtCompileTime==Dynamic) \
|
||||
if(SizeAtCompileTime==Dynamic && this->data()!=0) \
|
||||
nb_temporaries++; \
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user