Re: [eigen] Test for a non-compiling cast

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


Thanks guys,

and sorry for bothering with non Eigen problems.

ricard

On Sat, Dec 27, 2008 at 4:42 PM, Gael Guennebaud <gael.guennebaud@xxxxxxxxx> wrote:
well, you need to add the "template" disambiguator only for template
functions, so here only in front of cast:
(*b).block(0, 0, 3, 1) = a.block(0,0, 3, 1).template cast<Complex>();

gael, who eventually got his Internet connection at home :)

On Tue, Dec 23, 2008 at 2:08 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
> It's not a problem with Eigen, it's just strangeness of the C++ language.
>
> The line 24 needs template keywords like this,
>  (*b).block(0, 0, 3, 1) = a.template block(0,0, 3, 1).template cast<Complex>();
>
> Cheers,
> Benoit
>
> 2008/12/23 Ricard Marxer Piñón <email@xxxxxxxxxxxxxxxx>:
>> Hi there,
>>
>> I have problems with revision r900516 (I'm guessing since r900396).
>>
>> I attach a test file.
>>
>> --
>> ricard
>> http://www.ricardmarxer.com
>> http://www.caligraft.com
>
> ---
>
>



--
ricard
http://www.ricardmarxer.com


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