diff --git a/test/sparse.h b/test/sparse.h index b343427e5..949a597fc 100644 --- a/test/sparse.h +++ b/test/sparse.h @@ -28,7 +28,7 @@ #include "main.h" -#if EIGEN_GNUC_AT_LEAST(4,0) && !defined __ICC +#if EIGEN_GNUC_AT_LEAST(4,0) && !defined __ICC && !defined(__clang__) #include #define EIGEN_UNORDERED_MAP_SUPPORT namespace std {