|
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:29:12 -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 |
Follow-up Comment #2, bug #55245 (project octave): As a general rule: if any of the one or two permitted arguments is empty, return "0". >> exist ({}, 'bla') ans = 0 >> exist ({}, []) ans = 0 >> exist ('a', []) ans = 0 _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?55245> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |