aboutsummaryrefslogtreecommitdiff
path: root/test/sparse.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/sparse.h')
-rw-r--r--test/sparse.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/test/sparse.h b/test/sparse.h
index 9912e1e24..6cd07fc0a 100644
--- a/test/sparse.h
+++ b/test/sparse.h
@@ -14,7 +14,7 @@
#include "main.h"
-#if EIGEN_GNUC_AT_LEAST(4,0) && !defined __ICC && !defined(__clang__)
+#if EIGEN_HAS_CXX11
#ifdef min
#undef min
@@ -24,15 +24,9 @@
#undef max
#endif
-#include <tr1/unordered_map>
+#include <unordered_map>
#define EIGEN_UNORDERED_MAP_SUPPORT
-namespace std {
- using std::tr1::unordered_map;
-}
-#endif
-#ifdef EIGEN_GOOGLEHASH_SUPPORT
- #include <google/sparse_hash_map>
#endif
#include <Eigen/Cholesky>