diff options
author | Gael Guennebaud <g.gael@free.fr> | 2010-08-16 09:38:49 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2010-08-16 09:38:49 +0200 |
commit | 8566ef805b034df4b017b594c1414e96e20e696a (patch) | |
tree | 73080b23cd41e96032496dc88798cc1e93cc1736 /Eigen/src/Core/util/XprHelper.h | |
parent | 3a30a2bc3e53c00e3f2902554e2c74bdfe7f52c1 (diff) |
remove the aligned bit flag for non vectorizable types
Diffstat (limited to 'Eigen/src/Core/util/XprHelper.h')
-rw-r--r-- | Eigen/src/Core/util/XprHelper.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index 3c89a7f3f..61ffe702f 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -119,21 +119,11 @@ class ei_compute_matrix_flags enum { row_major_bit = Options&RowMajor ? RowMajorBit : 0, is_dynamic_size_storage = MaxRows==Dynamic || MaxCols==Dynamic, -#if EIGEN_ALIGN_STATICALLY - is_fixed_size_aligned - = (!is_dynamic_size_storage) && (((MaxCols*MaxRows) % ei_packet_traits<Scalar>::size) == 0), -#else - is_fixed_size_aligned = 0, -#endif -#if EIGEN_ALIGN - is_dynamic_size_aligned = is_dynamic_size_storage, -#else - is_dynamic_size_aligned = 0, -#endif aligned_bit = ( - ((Options&DontAlign)==0) + ((Options&DontAlign)==0) + && ei_packet_traits<Scalar>::Vectorizable && ( #if EIGEN_ALIGN_STATICALLY ((!is_dynamic_size_storage) && (((MaxCols*MaxRows) % ei_packet_traits<Scalar>::size) == 0)) |