Re: [eigen] is MAP oneway ? (urgent) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] is MAP oneway ? (urgent)
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Wed, 24 Jun 2009 15:13:41 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=X8Ok3fa3itUWq+3oqw6lmqQbcmgFrx7XVquIOWqkGak=; b=IFrEW+0JljugszLgWYGc5dwpIp1tigV7YwuX4MqSxdV+IUWTsr3jdQKESmWUnFGCj/ aJLge3ogfdmWC1pOQgSkDMfW284DHfpOziFD3OUv8mpYbjX0j2YO4BHvWSidHJwgI/yU 5Nk+P81TInRdNkwuaqluSxwkOtAzxFJTNk42o=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=cSaKb8O+Gq0Jju6PQy7NuwSLrouJ0JCn9qKYVQ9qQtTHGJi6opdvUq/03rOUoPMAWa 0gFceU5EM+3i8b+z5l1kqh2ckGNofUE2pQvp78RVSiTTslS3mCrCuR/Q+bjVbX2qNq7w 18wDgL/kfsdWhIhbbWpAPDWIRFnK8nxAiF2iI=
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