aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-12-16 15:17:29 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-12-16 15:17:29 +0000
commit38b83b4157a19ed913b0c5f884629930348cc716 (patch)
treedf6ef44c7896c71dcd86ca6673955a9eaf35a692 /test
parent50105c3ed6a339faee730b22345241907a43fd6d (diff)
* throw bad_alloc if exceptions are enabled, after patch by Kenneth Riddile
* disable vectorization on MSVC 2005, as it doesn't have all the required intrinsics. require 2008.
Diffstat (limited to 'test')
-rw-r--r--test/main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/main.h b/test/main.h
index cfff229ca..73633687c 100644
--- a/test/main.h
+++ b/test/main.h
@@ -47,6 +47,8 @@ namespace Eigen
#define EI_PP_CAT2(a,b) a ## b
#define EI_PP_CAT(a,b) EI_PP_CAT2(a,b)
+#define EIGEN_NO_EXCEPTIONS // disabling throwing assertions on bad alloc -- somehow makes the tests crawl
+
#ifndef EIGEN_NO_ASSERTION_CHECKING
namespace Eigen