Re: [eigen] Any way to disable resize-during-assignment?

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


2010/6/1 Manoj Rajagopalan <rmanoj@xxxxxxxxx>:
> Hi eigen users,
>
>   I'm pre-sizing all my vectors and matrices. Therefore, a change in size
> during assignment represents a bug in my use-case. Eigen allows this to
> happen. Is there any way to disable this?

#define EIGEN_NO_AUTOMATIC_RESIZING

(before including any Eigen header)

Benoit

>
>   If not (yet), would the developers consider including #ifdef -guards around
> the resize-logic to allow such a use-case?
>
> Thanks,
> Manoj
>
>
>



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