summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/multiprecision/config/has_eigen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/multiprecision/config/has_eigen.cpp')
-rw-r--r--src/boost/libs/multiprecision/config/has_eigen.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/boost/libs/multiprecision/config/has_eigen.cpp b/src/boost/libs/multiprecision/config/has_eigen.cpp
new file mode 100644
index 00000000..57d84bae
--- /dev/null
+++ b/src/boost/libs/multiprecision/config/has_eigen.cpp
@@ -0,0 +1,15 @@
+// Copyright John Maddock 2011.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+#include <Eigen/Dense>
+
+int main()
+{
+#if EIGEN_VERSION_AT_LEAST(3, 3, 0)
+#else
+#error "Obsolete Eigen"
+#endif
+ return 0;
+}