Backport changes from old to new expression engines

This commit is contained in:
Gael Guennebaud
2014-06-20 16:17:57 +02:00
parent b29b81a1f4
commit 7fa87a8b12
4 changed files with 41 additions and 6 deletions

View File

@@ -187,7 +187,7 @@ class compute_matrix_evaluator_flags
((Options&DontAlign)==0)
&& (
#if EIGEN_ALIGN_STATICALLY
((!is_dynamic_size_storage) && (((MaxCols*MaxRows*int(sizeof(Scalar))) % 16) == 0))
((!is_dynamic_size_storage) && (((MaxCols*MaxRows*int(sizeof(Scalar))) % EIGEN_ALIGN_BYTES) == 0))
#else
0
#endif