Avoid blocking-size mismatch in unit tests calling Eigen's blas interface.

This commit is contained in:
Gael Guennebaud
2014-04-25 11:04:02 +02:00
parent 3d8d0f6269
commit cf7eaed38d
6 changed files with 11 additions and 0 deletions

View File

@@ -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;