From f03d95348d6b1b283b772ceb9988f5cb230e63ea Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Sat, 6 Mar 2010 02:17:37 -0500 Subject: introduce EIGEN_DONT_ALIGN_STACK (disables alignment attributes) and EIGEN_DONT_ALIGN_HEAP (disables aligned malloc)... you can still use EIGEN_DONT_ALIGN to do both at once. --- test/unalignedassert.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/unalignedassert.cpp') diff --git a/test/unalignedassert.cpp b/test/unalignedassert.cpp index 85a83b7b5..497c5a5aa 100644 --- a/test/unalignedassert.cpp +++ b/test/unalignedassert.cpp @@ -78,7 +78,7 @@ void check_unalignedassert_good() delete[] y; } -#if EIGEN_ALIGN +#if EIGEN_ALIGN_STACK template void construct_at_boundary(int boundary) { @@ -94,7 +94,7 @@ void construct_at_boundary(int boundary) void unalignedassert() { - #if EIGEN_ALIGN + #if EIGEN_ALIGN_STACK construct_at_boundary(4); construct_at_boundary(4); construct_at_boundary(16); @@ -124,7 +124,7 @@ void unalignedassert() check_unalignedassert_good(); check_unalignedassert_good >(); -#if EIGEN_ALIGN +#if EIGEN_ALIGN_STACK VERIFY_RAISES_ASSERT(construct_at_boundary(8)); VERIFY_RAISES_ASSERT(construct_at_boundary(8)); VERIFY_RAISES_ASSERT(construct_at_boundary(8)); -- cgit v1.2.3