diff --git a/unsupported/test/sparse_extra.cpp b/unsupported/test/sparse_extra.cpp index cdfd10ca4..602c2cb84 100644 --- a/unsupported/test/sparse_extra.cpp +++ b/unsupported/test/sparse_extra.cpp @@ -31,6 +31,22 @@ static long g_dense_op_sparse_count = 0; #include "sparse_basic.cpp" #endif +#if EIGEN_HAS_CXX11 + +#ifdef min +#undef min +#endif + +#ifdef max +#undef max +#endif + +#include +#define EIGEN_UNORDERED_MAP_SUPPORT + +#endif + + #include template @@ -146,6 +162,7 @@ template void sparse_extra(const SparseMatrixType& re } + template void check_marketio() {