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: John W. Eaton
Subject: [Octave-bug-tracker] [bug #55622] for loop does not run over a matrix with colums but no row
Date: Tue, 30 Jan 2024 16:14:01 -0500 (EST)

Follow-up Comment #24, bug#55622 (group octave):

It seems to me that the fix is simple (just remove "nrows > 0" from the loop
test) and it is the same one I came up with *again* today when this problem
was reported *again* almost exactly 5 years later (as bug #65228).

Or, is there some other case we need to consider - maybe just removing that
test breaks something else?  I don't remember now.

It makes sense to me to fix Octave to do the compatible thing here since we
know what that is, it does make some sense, and if we don't fix it, we will
just periodically get bug reports about it users will get the impression that
we are dumb for not making Octave to the Right Thing (and for these users, the
Right Thing is always whatever it is that Matlab does).

Maybe these reports will only come in every 5 years or so, but still, how much
time was wasted on this bug report again today?


    _______________________________________________________

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]