diff options
Diffstat (limited to 'test/product_notemporary.cpp')
-rw-r--r-- | test/product_notemporary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/product_notemporary.cpp b/test/product_notemporary.cpp index b8bc3acc3..cddf7eb39 100644 --- a/test/product_notemporary.cpp +++ b/test/product_notemporary.cpp @@ -25,7 +25,7 @@ static int nb_temporaries; #define EIGEN_DEBUG_MATRIX_CTOR { \ - if(SizeAtCompileTime==Dynamic) \ + if(SizeAtCompileTime==Dynamic && this->data()!=0) \ nb_temporaries++; \ } |