octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #55622] for loop does not run over a matrix wi


From: Rik
Subject: [Octave-bug-tracker] [bug #55622] for loop does not run over a matrix with colums but no row
Date: Fri, 1 Feb 2019 13:34:04 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #3, bug #55622 (project octave):

I think it's debatable how useful this is.  It seems to be an artifact of the
implementation: Matlab loops over the number of columns regardless of whether
the actual expression is empty.  

For reference, this loop executes three times in Matlab


for i = zeros (0,3), disp ('hey'), end




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55622>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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