octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Attn: Patch - fix for b=ones(2,1,1);b(2,:,:)=1


From: John W. Eaton
Subject: Attn: Patch - fix for b=ones(2,1,1);b(2,:,:)=1
Date: Thu, 3 Jun 2004 18:44:17 -0500

On  2-Jun-2004, David Bateman <address@hidden> wrote:

| It should be possible to refer to non-existent dimensions by a magic
| colon, in which case the dimension is considered to be singleton. The
| following patch therefore allows "b=ones(2,1,1);b(2,:,:)=1" to work as
| expected...
| 
| The changelog is
| 
|       * Array.cc (assignN): allow magic colon for dimensions lvalue 
|       greater than the existing number of dimensions in lvalue.

I applied this patch.

Thanks,

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]