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

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

[Octave-bug-tracker] [bug #58830] imprecise error message for "size(foo,


From: Fernando
Subject: [Octave-bug-tracker] [bug #58830] imprecise error message for "size(foo, end)"
Date: Sat, 8 Aug 2020 15:09:20 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0

Follow-up Comment #2, bug #58830 (project octave):

The problem is a little more serious. When "end" is used as an argument to a
function, it is simply replaced by NaN, instead of throwing an error. You get
the following behaviour both in stable and default branches:


>> disp(end)
NaN


The problem was introduced in changeset 27100:b453b586da16, more than a year
ago, to correct bug #33637.

I could try and see if I can fix it.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Mensaje enviado vía Savannah
  https://savannah.gnu.org/




reply via email to

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