aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Sparse
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2011-10-17 08:44:44 -0400
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2011-10-17 08:44:44 -0400
commit16b638c159d25991bce2ec85351dc85d1d63c328 (patch)
tree08cd4e5e9fd7469e331a7d895bbb560b29825ca5 /Eigen/src/Sparse
parentdcbc985a2821544f4d035e103494d34972ccf71f (diff)
Throw std::bad_alloc even when exceptions are disabled, by doing new int[size_t(-1)].
Don't throw exceptions on aligned_malloc(0) (just because malloc's retval is null doesn't mean error, if size==0). Remove EIGEN_NO_EXCEPTIONS option, use only compiler standard defines. Either exceptions are enabled or they aren't.
Diffstat (limited to 'Eigen/src/Sparse')
0 files changed, 0 insertions, 0 deletions