Re: [eigen] Sparse * Diagonal matrix product

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


Thanks a lot, hadn't had a chance to even bisect it yet!
 
-- Trevor



On 14 January 2011 12:22, Gael Guennebaud <gael.guennebaud@xxxxxxxxx> wrote:
fixed.

gael

On Fri, Jan 14, 2011 at 7:48 PM, Gael Guennebaud
<gael.guennebaud@xxxxxxxxx> wrote:
> ths issue comes from revision: 3594:1a966e71de70
>
>    Bug 54 - really fix const correctness except in Sparse
>
> I'll check what's going on later...
>
> gael
>
> On Fri, Jan 14, 2011 at 4:19 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
>> Please give us a compilable test case, and even better, please bisect it :)
>>
>> Benoit
>>
>> 2011/1/13 Trevor Irons <trevorirons@xxxxxxxxx>:
>>> Greetings:
>>>
>>> I have some code that used to compile that was like:
>>>
>>>     VectorXd X = VectorXd::Random(5);
>>>     DynamicSparseMatrix<double, RowMajor> D(5, 5);
>>>     for (int i=0; i<5; ++i) D.coeffRef(i,i) = 1;
>>>     cout << D*X.asDiagonal() << endl; // product fails to compile
>>>
>>> The sparse times diagonal product seems to no longer be defined.
>>> Was removal of this functionality intentional?
>>>
>>  -- Trevor
>>>
>>>
>>
>>
>>
>





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