From d104d2cd29149876c4ec1d2a69960c3ef09872be Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 9 Feb 2010 11:13:22 +0100 Subject: add accessors to coeff based product --- test/product_notemporary.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/product_notemporary.cpp') 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++; \ } -- cgit v1.2.3