octave 3.1.55 different from 3.0

Jaroslav Hajek highegg at gmail.com
Thu Apr 9 14:26:09 CDT 2009


On Thu, Apr 9, 2009 at 8:34 PM, John W. Eaton <jwe at octave.org> wrote:
> On  9-Apr-2009, Jaroslav Hajek wrote:
>
> | On Thu, Apr 9, 2009 at 4:12 PM, John W. Eaton <jwe at octave.org> wrote:
> | > On  9-Apr-2009, Bertrand Roessli wrote:
> | >
> | > | if I execute this function in both Octave 3.0 and 3.1.55 I get
> | > | a different answer and I think that 3.0 is right?
> | >
> | > Please report problems to the bug at octave.org list.
> | >
> | > This looks like a problem with indexing.  Here is a simpler example:
> | >
> | >  c = cell (2, 1);
> | >  s.a(1:2) = [1, 1]
> | >  c{1} = s
> | >  s.a(1:2) = [2, 2]
> | >  c{2} = s
> | >
> | > jwe
> |
> | This gives (recent tip):
> |
> | c =
> |
> | {
> |   [1,1] =
> |   {
> |     a =
> |
> |        1   1
> |
> |   }
> |
> |   [2,1] =
> |   {
> |     a =
> |
> |        2   2
> |
> |   }
> |
> | }
> |
> |
> | what's wrong?
>
> I checked it with 3.1.54, which results in
>

OK, sorry. I saw Bertrand was referring to 3.1.55, but I somewhat
naively assumed you referred to the development tip (not that I have
always the tip built :).

I think it was fixed 5 days ago:
http://hg.savannah.gnu.org/hgweb/octave/rev/961410931a4f


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



More information about the Bug-octave mailing list