* 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.
This commit is contained in:
Benoit Jacob
2008-12-16 15:17:29 +00:00
parent 50105c3ed6
commit 38b83b4157
3 changed files with 61 additions and 37 deletions

View File

@@ -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