Re: [eigen] Std Vector again

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


2009/6/26 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
> What you want here is EIGEN_DONT_ALIGN but this option is only
> available in the development version.
>
> In Eigen 2.0.3, to disable alignment, you'll have to edit
> Eigen/src/Core/util/Macros.h and at line 44 replace
>
> #if !defined(__GNUC__) || defined(__i386__) || defined(__x86_64__) ||
> defined(__ppc__) || defined(__ia64__)
>
> by
>
> #if 0

And by the way, you can control that on a per-matrix basis by using e.g.

Eigen::Matrix<float,4,1,Eigen::DontAlign>

instead of

Eigen::Vector4f

Cheers,
Benoit



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/