fix the multiple temporary issue for nested products

This commit is contained in:
Gael Guennebaud
2010-02-09 09:58:34 +01:00
parent 8b016e717f
commit c076fec734
2 changed files with 21 additions and 2 deletions

View File

@@ -490,7 +490,7 @@ class DenseStorageBase : public _Base<Derived>
return ei_assign_selector<Derived,OtherDerived,false>::run(this->derived(), other.derived());
}
static EIGEN_STRONG_INLINE void _check_template_params()
EIGEN_STRONG_INLINE void _check_template_params()
{
#ifdef EIGEN_DEBUG_MATRIX_CTOR
EIGEN_DEBUG_MATRIX_CTOR;