aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sparse.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2011-02-27 20:33:58 -0500
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2011-02-27 20:33:58 -0500
commit771e64200f1def0ff6fc939ac166ebab9589ab87 (patch)
treeb0b03be79720e3cdead57bf180fd1ff795670684 /test/sparse.h
parent4846c76d9d7e2e343381c9f55c308cedb2f292b6 (diff)
fix compilation of unit tests with clang
Diffstat (limited to 'test/sparse.h')
-rw-r--r--test/sparse.h2
1 files changed, 1 insertions, 1 deletions
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 <tr1/unordered_map>
#define EIGEN_UNORDERED_MAP_SUPPORT
namespace std {