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

@ -39,9 +39,7 @@
*/ */
template <typename _Scalar, int _AmbientDim> template <typename _Scalar, int _AmbientDim>
class AlignedBox class AlignedBox
#ifdef EIGEN_VECTORIZE
: public ei_with_aligned_operator_new<_Scalar,_AmbientDim==Dynamic ? Dynamic : _AmbientDim+1> : public ei_with_aligned_operator_new<_Scalar,_AmbientDim==Dynamic ? Dynamic : _AmbientDim+1>
#endif
{ {
public: public:

View File

@ -45,9 +45,7 @@
*/ */
template <typename _Scalar, int _AmbientDim> template <typename _Scalar, int _AmbientDim>
class Hyperplane class Hyperplane
#ifdef EIGEN_VECTORIZE
: public ei_with_aligned_operator_new<_Scalar,_AmbientDim==Dynamic ? Dynamic : _AmbientDim+1> : public ei_with_aligned_operator_new<_Scalar,_AmbientDim==Dynamic ? Dynamic : _AmbientDim+1>
#endif
{ {
public: public:

View File

@ -41,9 +41,7 @@
*/ */
template <typename _Scalar, int _AmbientDim> template <typename _Scalar, int _AmbientDim>
class ParametrizedLine class ParametrizedLine
#ifdef EIGEN_VECTORIZE
: public ei_with_aligned_operator_new<_Scalar,_AmbientDim> : public ei_with_aligned_operator_new<_Scalar,_AmbientDim>
#endif
{ {
public: public:

View File

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

View File

@ -41,9 +41,7 @@
*/ */
template<typename _Scalar, int _Dim> template<typename _Scalar, int _Dim>
class Scaling class Scaling
#ifdef EIGEN_VECTORIZE
: public ei_with_aligned_operator_new<_Scalar,_Dim> : public ei_with_aligned_operator_new<_Scalar,_Dim>
#endif
{ {
public: public:
/** dimension of the space */ /** dimension of the space */

View File

@ -61,9 +61,7 @@ struct ei_transform_product_impl;
*/ */
template<typename _Scalar, int _Dim> template<typename _Scalar, int _Dim>
class Transform class Transform
#ifdef EIGEN_VECTORIZE
: public ei_with_aligned_operator_new<_Scalar,_Dim==Dynamic ? Dynamic : (_Dim+1)*(_Dim+1)> : public ei_with_aligned_operator_new<_Scalar,_Dim==Dynamic ? Dynamic : (_Dim+1)*(_Dim+1)>
#endif
{ {
public: public:

View File

@ -41,9 +41,7 @@
*/ */
template<typename _Scalar, int _Dim> template<typename _Scalar, int _Dim>
class Translation class Translation
#ifdef EIGEN_VECTORIZE
: public ei_with_aligned_operator_new<_Scalar,_Dim> : public ei_with_aligned_operator_new<_Scalar,_Dim>
#endif
{ {
public: public:
/** dimension of the space */ /** dimension of the space */

View File

@ -27,7 +27,7 @@ else(CHOLMOD_FOUND)
endif(CHOLMOD_FOUND) endif(CHOLMOD_FOUND)
if(NOT MSVC) if(NOT MSVC)
enable_language(Fortran OPTIONAL) # enable_language(Fortran OPTIONAL)
endif(NOT MSVC) endif(NOT MSVC)
find_package(Umfpack) find_package(Umfpack)