Re: [eigen] Re: yet another deep change wrt storage orders...

[ Thread Index | Date Index | More Archives ]

> The fix is to write:
>    Array<Scalar, NCHAN, Dynamic, NCHAN==1 ? RowMajor : ColMajor,
> I understand that you said that your code relies on the data being
> col-major, that's why in the above line I keep ColMajor as soon as
> NCHAN!=1. In the case NCHAN==1, you have a vector anyway, so the
> storage order is useless abstract nonsense, so it doesn't cost
> anything to call it RowMajor.

Great, this works, thanks Benoit!

Mail converted by MHonArc 2.6.19+