diff options
Diffstat (limited to 'test/sparse.h')
-rw-r--r-- | test/sparse.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/sparse.h b/test/sparse.h index 9944a2934..81ce82e16 100644 --- a/test/sparse.h +++ b/test/sparse.h @@ -29,6 +29,15 @@ #include "main.h" #if EIGEN_GNUC_AT_LEAST(4,0) && !defined __ICC && !defined(__clang__) + +#ifdef min +#undef min +#endif + +#ifdef max +#undef max +#endif + #include <tr1/unordered_map> #define EIGEN_UNORDERED_MAP_SUPPORT namespace std { |