From 38b83b4157a19ed913b0c5f884629930348cc716 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Tue, 16 Dec 2008 15:17:29 +0000 Subject: * 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. --- test/main.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/main.h') 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 -- cgit v1.2.3