[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octave 3.1.55 different from 3.0
From: |
Jaroslav Hajek |
Subject: |
Re: octave 3.1.55 different from 3.0 |
Date: |
Thu, 9 Apr 2009 19:24:19 +0200 |
On Thu, Apr 9, 2009 at 4:12 PM, John W. Eaton <address@hidden> 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 address@hidden 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?
--
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz