aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/Core
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2021-07-07 17:12:12 -0400
committerGravatar Benjamin Barenblat <bbaren@google.com>2021-07-07 17:14:08 -0400
commit27e7fd18f1c337c409f2a567697b27bcd0c09f8b (patch)
tree5ff36982295b5c6c528a26d87e950af015656cde /Eigen/Core
parenta59cf78c8d197e2892ec11985a07c98c362e1600 (diff)
Support manually disabling exceptionsHEADmaster
Rename EIGEN_EXCEPTIONS to EIGEN_USE_EXCEPTIONS, and allow disabling exceptions with -DEIGEN_USE_EXCEPTIONS=0.
Diffstat (limited to 'Eigen/Core')
-rw-r--r--Eigen/Core2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/Core b/Eigen/Core
index 5921e15f9..7fb033a86 100644
--- a/Eigen/Core
+++ b/Eigen/Core
@@ -30,7 +30,7 @@
#endif
-#ifdef EIGEN_EXCEPTIONS
+#if EIGEN_USE_EXCEPTIONS
#include <new>
#endif