Re: [eigen] nesting

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


On Sun, Feb 7, 2010 at 4:51 PM, Gael Guennebaud
<gael.guennebaud@xxxxxxxxx> wrote:
>> Currently, I am also a little bit confused about the following code
>> (from the forum):
>>
>>  double p = (P.transpose * P).diagonal().sum();
>
> in the devel branch Product::diagonal is overloaded to handle that case
> without the need of an explicit lazy.

Though it is crashing over here. I have to investigate but I think it
is the same reason as before, a deleted temporary.



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