help-octave
[Top][All Lists]
Advanced

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

Re: loop causes a crash


From: John B. Thoo
Subject: Re: loop causes a crash
Date: Thu, 21 May 2009 23:15:41 -0700


On May 21, 2009, at 2:02 PM, Carlo de Falco wrote:

On 21 May 2009, at 07:48, Bertrand Roessli wrote:

I submitted this report to


address@hidden

but I think it did not arrive:



Hello,

this loop causes a crash in Octave-3.1.55:

for i=1:10
       for j=1:10
               for l=1:10
                       a(j,l,i)=1; %crash
                       %a(i,j,l)=1; %is fine
               endfor
       endfor
endfor

This works fine for me with the latest sources from mercurial on OSX.

Hi. I don't know what "mercurial" means, but I'll add another data point and say that it works fine in 3.0.5 running in OS X 10.4.11.

octave-3.0.5:1> for i=1:10
> for j=1:10
> for l=1:10
> a(j,l,i) = 1;
> endfor
> endfor
> endfor
octave-3.0.5:2> a
octave-3.0.5:3

---John.


reply via email to

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