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: Markus Mützel
Subject: [Octave-bug-tracker] [bug #58686] Interpreter silently ignores inputs
Date: Fri, 3 Jul 2020 13:01:56 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 Edg/83.0.478.58

Follow-up Comment #9, bug #58686 (project octave):

I'm not sure if anything needed to be fixed in the parser here.
In Matlab R2020a, I see:

>> a = struct('b', {});
>> isempty(a.b,[])
ans =
  logical
   1
>> isempty(a.b,1)
ans =
  logical
   0
>> isempty(a.b)
Error using isempty
Not enough input arguments.


This is what Octave did before the change.

The unexpected behavior in the test suite should probably be fixed there
instead.


    _______________________________________________________

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]