Array indexing issue is original matrix empty

David Bateman adb014 at gmail.com
Wed Mar 19 14:25:07 CDT 2008


John W. Eaton wrote:
> On 19-Mar-2008, David Bateman wrote:
> 
> | 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.
> 
> I applied it.
> 
> Thanks,
> 
> jwe

I suppose we should have a test for this bug.. Micro patch attached

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


More information about the Bug-octave mailing list