Array indexing issue is original matrix empty

David Bateman David.Bateman at motorola.com
Wed Mar 19 08:52:11 CDT 2008


If a doesn't exist then the assignment

a(1:10,1) = 1:10

should succeed and does in matlabR2007b. However this fails in Octave
3.0.x and 3.1.x.. I believe the attached patch addresses this.

D.

-- 
David Bateman                                David.Bateman at motorola.com
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch7736
Url: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20080319/c74031e2/attachment.ksh 


More information about the Bug-octave mailing list