From bug-request at octave dot org Thu Nov 4 10:31:36 2004 Subject: Re: bug report From: David Bateman To: Dirk Bueche Cc: bug-octave at bevo dot che dot wisc dot edu Date: Thu, 4 Nov 2004 17:24:37 +0100 Current version of octave octave:5> a{1} = [1,2;5,6;2,4]; octave:6> b = a{1}; octave:7> a{1}(:,end) ans = 2 6 4 So its fixed... Cheers David Daprès Dirk Bueche (le 04/11/2004): > Dear authors of octave, > > I am using octave frequently and it is a great tool. > Thanks for all the development! > > I found a bug when using a structure and the 'end' statement. > When I define a 2-dim array in a struct 'a' or in an array 'b', the > result is different: > > Best, > > Dirk > > GNU Octave, version 2.1.49 (i686-pc-linux-gnu). > Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 John W. Eaton. > This is free software; see the source code for copying conditions. > There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or > FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'. > > Please contribute if you find this software useful. > For more information, visit http://www.octave.org/help-wanted.html > > Report bugs to . > > octave:1> a{1} = [1,2;5,6;2,4]; > octave:2> b = a{1}; > octave:3> a{1}(:,end) > ans = > > 1 > 5 > 2 > > octave:4> b(:,end) > ans = > > 2 > 6 > 4 > > > > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU GPL. > > Octave's home on the web: http://www.octave.org > How to fund new projects: http://www.octave.org/funding.html > Subscription information: http://www.octave.org/archive.html > ------------------------------------------------------------- -- David Bateman David dot Bateman at motorola dot com Motorola CRM +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax) 91193 Gif-Sur-Yvette FRANCE The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------