octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: sparse indexed assignment rewritten


From: Jaroslav Hajek
Subject: Re: FYI: sparse indexed assignment rewritten
Date: Wed, 14 Apr 2010 08:30:00 +0200

On Tue, Apr 13, 2010 at 6:07 PM, Søren Hauberg <address@hidden> wrote:
> tir, 13 04 2010 kl. 16:54 +0200, skrev Jaroslav Hajek:
>> I've nearly finished rewriting the sparse indexed assignment code.
>
> Cool :-)
>
>> 4. if you build the tip, you'll see 3 new test failures. These are
>> tests for cases like the following:
>>
>> a = sparse (2, 0);
>> a(5) = 1;
>>
>> previously Octave produced a 5x1 matrix. However, Matlab 2007a
>> produces a 2x3 matrix (i.e. adds rows as needed). In absence of more
>> information, I implemented the 2007a approach, causing the tests to
>> fail.
>
> For what it's worth, Matlab 2009a behaves like 2007a here.
>

OK, thanks. I updated the tests.



-- 
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz



reply via email to

[Prev in Thread] Current Thread [Next in Thread]