diff options
author | Gael Guennebaud <g.gael@free.fr> | 2014-04-25 11:04:02 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2014-04-25 11:04:02 +0200 |
commit | cf7eaed38db25c5205f6aabfd4e96e774fd98af5 (patch) | |
tree | d24ada5cf059d2bfeac0a5eaf0574693d68f97d9 /test/main.h | |
parent | 3d8d0f6269478a06f4fcbd4b838c8e9b9d7e9d62 (diff) |
Avoid blocking-size mismatch in unit tests calling Eigen's blas interface.
Diffstat (limited to 'test/main.h')
-rw-r--r-- | test/main.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/main.h b/test/main.h index fcac0e3ab..3ccc2ae88 100644 --- a/test/main.h +++ b/test/main.h @@ -31,7 +31,11 @@ // B0 is defined in POSIX header termios.h #define B0 FORBIDDEN_IDENTIFIER +// Unit tests calling Eigen's blas library must preserve the default blocking size +// to avoid troubles. +#ifndef EIGEN_NO_DEBUG_SMALL_PRODUCT_BLOCKS #define EIGEN_DEBUG_SMALL_PRODUCT_BLOCKS +#endif // shuts down ICC's remark #593: variable "XXX" was set but never used #define TEST_SET_BUT_UNUSED_VARIABLE(X) X = X + 0; |