Re: [eigen] is MAP oneway ? (urgent)

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


2009/6/24 Helmut Jarausch <jarausch@xxxxxxxxxxxxxxxxxxx>:
> Thanks, but unfortunately that raises another problem.
>
> In   "void process..."   I have
> DATA.segment<2>(ind)+= ...
>
> or
>
> DATA.start<2>()+= ...
> which fails now.

Ah yes, this is a c++ syntax weirdness that puzzles everyone. You have
to add a "template" keyword after the dot:

DATA.template segment<2>(ind)+= ...

Benoit



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