inherit from ei_with_aligned_operator_new even with disabled vectorization

This commit is contained in:
Armin Berres
2009-01-05 14:35:07 +00:00
parent 986f301233
commit ab660a4d29
8 changed files with 1 additions and 15 deletions

View File

@@ -59,9 +59,7 @@ template<typename _Scalar> struct ei_traits<Quaternion<_Scalar> >
template<typename _Scalar>
class Quaternion : public RotationBase<Quaternion<_Scalar>,3>
#ifdef EIGEN_VECTORIZE
, public ei_with_aligned_operator_new<_Scalar,4>
#endif
{
typedef RotationBase<Quaternion<_Scalar>,3> Base;
typedef Matrix<_Scalar, 4, 1> Coefficients;