aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/product_notemporary.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-02-09 11:13:22 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-02-09 11:13:22 +0100
commitd104d2cd29149876c4ec1d2a69960c3ef09872be (patch)
tree39a44f168f72140f5134af7d8922442d87f18475 /test/product_notemporary.cpp
parent5686eca7b1017738a19a32ce0627249e56cfd3eb (diff)
add accessors to coeff based product
Diffstat (limited to 'test/product_notemporary.cpp')
-rw-r--r--test/product_notemporary.cpp2
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++; \
}