[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59040] Infinite Loop, Cant Stop
From: |
Torsten Lilge |
Subject: |
[Octave-bug-tracker] [bug #59040] Infinite Loop, Cant Stop |
Date: |
Sun, 30 Aug 2020 03:18:42 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 |
Follow-up Comment #1, bug #59040 (project octave):
rand(1:10)
# which is equivalent to
rand(1,2,3,4,5,6,7,8,9,10)
should not give an endless loop. It just takes long time to output (not to
compute) the 3628800 elements of this 10-dimensional array. Thus, I do not
consider this to be a bug. Octave is just doing what you have asked for.
Are you able to interrupt this with "Ctrl-C"?
When using
rand(1:10);
with suppressed output, the operation finishes immediately.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59040>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/