octave 3.1.55 different from 3.0

Jaroslav Hajek highegg at gmail.com
Thu Apr 9 12:24:19 CDT 2009


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?

-- 
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