The ABI break:

* set AutoAlign=0, DontAlign!=0
* set Dynamic=33331
* add check on fixed sizes
* bump version to 2.0.52
This commit is contained in:
Benoit Jacob
2009-03-26 16:30:54 +00:00
parent ce5669dbf9
commit 1b7b538e05
4 changed files with 12 additions and 9 deletions

View File

@@ -32,7 +32,7 @@ struct ei_constructor_without_unaligned_array_assert {};
* Static array automatically aligned if the total byte size is a multiple of 16 and the matrix options require auto alignment
*/
template <typename T, int Size, int MatrixOptions,
bool Align = (MatrixOptions&AutoAlign) && (((Size*sizeof(T))&0xf)==0)
bool Align = (!(MatrixOptions&DontAlign)) && (((Size*sizeof(T))&0xf)==0)
> struct ei_matrix_array
{
EIGEN_ALIGN_128 T array[Size];