diff options
author | 2011-11-22 09:04:31 -0500 | |
---|---|---|
committer | 2011-11-22 09:04:31 -0500 | |
commit | ffe6d1f901566e0c7e34c1f6fcccd35864197cc1 (patch) | |
tree | c4dd026663fdc61f6da59209fb11f32e86705b6e /Eigen/src/Core/Matrix.h | |
parent | f278a3eabaa6553825daafbee0a92515c90b0b74 (diff) |
Alignment fixes:
* Fix AlignedBit computation for Plain Objects
* use it for the conditional alignment of operator new
* only overload new in PlainObjectBase, don't overload again in Matrix and Array
Diffstat (limited to 'Eigen/src/Core/Matrix.h')
-rw-r--r-- | Eigen/src/Core/Matrix.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h index 12ed9a6b4..cf1591b7e 100644 --- a/Eigen/src/Core/Matrix.h +++ b/Eigen/src/Core/Matrix.h @@ -153,10 +153,6 @@ class Matrix typedef typename Base::PlainObject PlainObject; - enum { NeedsToAlign = (!(Options&DontAlign)) - && SizeAtCompileTime!=Dynamic && ((static_cast<int>(sizeof(Scalar))*SizeAtCompileTime)%16)==0 }; - EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(NeedsToAlign) - using Base::base; using Base::coeffRef; |