Regression tests for number of nested temporaries.

Moved EIGEN_DEBUG_MATRIX_CTOR to ei_matrix_storage to capture resize related allocations.
This commit is contained in:
Hauke Heibel
2010-02-09 20:32:48 +01:00
parent f96e6a6944
commit 5da3049b80
3 changed files with 31 additions and 14 deletions

View File

@@ -492,10 +492,6 @@ class DenseStorageBase : public _Base<Derived>
EIGEN_STRONG_INLINE void _check_template_params()
{
#ifdef EIGEN_DEBUG_MATRIX_CTOR
EIGEN_DEBUG_MATRIX_CTOR;
#endif
EIGEN_STATIC_ASSERT(((RowsAtCompileTime >= MaxRowsAtCompileTime)
&& (ColsAtCompileTime >= MaxColsAtCompileTime)
&& (MaxRowsAtCompileTime >= 0)