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

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

[Octave-bug-tracker] [bug #58686] Interpreter silently ignores inputs


From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #58686] Interpreter silently ignores inputs
Date: Wed, 1 Jul 2020 22:17:28 -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 #4, bug #58686 (project octave):

Thank you for looking into this Rik 🙂

Matlab R2020b gives an error for calling the function in comment #0.


>> assert (do_nothing (4), rand (3))
Output argument "retval" (and maybe others) not assigned
during call to "do_nothing".


The proposed suggestion of comment #0 can only detect that some
octave_value_list (ovl) element was not properly assigned, because we are
already inside the called function.

The desired solution is, that during the creation of that ovl an error with
nice message is thrown.

Workarounds with empty elements, I suspect to be the root of new
inconsistencies.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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