diff --git a/test/dynalloc.cpp b/test/dynalloc.cpp index cd0062aac..0b1d6c867 100644 --- a/test/dynalloc.cpp +++ b/test/dynalloc.cpp @@ -120,11 +120,12 @@ void test_dynalloc() } // check static allocation, who knows ? + #if EIGEN_ALIGN_STATICALLY { MyStruct foo0; VERIFY(size_t(foo0.avec.data())%ALIGNMENT==0); MyClassA fooA; VERIFY(size_t(fooA.avec.data())%ALIGNMENT==0); } - + // dynamic allocation, single object for (int i=0; i