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

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

[Octave-bug-tracker] [bug #55245] exist accepts empty matrix as first ar


From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #55245] exist accepts empty matrix as first argument in Matlab but is error in Octave
Date: Wed, 19 Dec 2018 19:22:40 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Update of bug #55245 (project octave):

                  Status:                    None => Confirmed              
             Assigned to:                    None => siko1056               

    _______________________________________________________

Follow-up Comment #1:

A small addition regarding the output of Matlab R2018b:


>> exist ([]) 

ans =

     0

>> exist ({})           

ans =

     0


"ans" is in both cases really the double value "0" as described by the
docstring.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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