From 7faaa9f3f0df9d23790277834d426c3d992ac3ba Mon Sep 17 00:00:00 2001 From: Carlos Hernandez Date: Tue, 5 Aug 2014 17:53:32 -0700 Subject: Update Eigen to the latest stable release, 3.2.2 ./Eigen/src/Core/util/NonMPL2.h is left untouched, so that usage of non MPL2 code is disabled. Change-Id: I86fc9257b3c30d0ca15b268d4ef07bf038bba7ca --- test/dynalloc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/dynalloc.cpp') diff --git a/test/dynalloc.cpp b/test/dynalloc.cpp index c7ccbffef..7e41bfa97 100644 --- a/test/dynalloc.cpp +++ b/test/dynalloc.cpp @@ -53,7 +53,7 @@ void check_aligned_new() void check_aligned_stack_alloc() { - for(int i = 1; i < 1000; i++) + for(int i = 1; i < 400; i++) { ei_declare_aligned_stack_constructed_variable(float,p,i,0); VERIFY(size_t(p)%ALIGNMENT==0); @@ -82,6 +82,7 @@ class MyClassA template void check_dynaligned() { T* obj = new T; + VERIFY(T::NeedsToAlign==1); VERIFY(size_t(obj)%ALIGNMENT==0); delete obj; } -- cgit v1.2.3