bug in assignment to multidimensional array

c. kingcrimson at tiscali.it
Sat May 9 14:09:41 CDT 2009


On 9 May 2009, at 19:19, Jaroslav Hajek wrote:

>
> Please see
> http://hg.savannah.gnu.org/hgweb/octave/rev/864805896876
>
> regards

this changeset seems to fix the problem:

 >> a(1:2,1,:) = rand(2,5)
a =

ans(:,:,1) =

0.50620
0.90401

ans(:,:,2) =

0.24629
0.25416

ans(:,:,3) =

0.62971
0.70658

ans(:,:,4) =

0.42189
0.12529

ans(:,:,5) =

0.42854
0.85484

 >> version
ans = 3.1.55
 >>


thanks!
c.


More information about the Bug-octave mailing list