From 75b7d98665dd144c44d7a113c6613f5f998be626 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Wed, 22 Dec 2010 17:45:37 -0500 Subject: bug #54 - really fix const correctness except in Sparse --- test/product_notemporary.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test/product_notemporary.cpp') diff --git a/test/product_notemporary.cpp b/test/product_notemporary.cpp index e5dd964c0..f4f846602 100644 --- a/test/product_notemporary.cpp +++ b/test/product_notemporary.cpp @@ -24,7 +24,13 @@ static int nb_temporaries; -#define EIGEN_DEBUG_MATRIX_CTOR { if(size!=0) nb_temporaries++; } +void on_temporary_creation(int size) { + // here's a great place to set a breakpoint when debugging failures in this test! + if(size!=0) nb_temporaries++; +} + + +#define EIGEN_DEBUG_MATRIX_CTOR { on_temporary_creation(size); } #include "main.h" -- cgit v1.2.3