|
From: | John W. Eaton |
Subject: | Re: Synonym |
Date: | Wed, 8 Apr 2020 15:02:16 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 4/8/20 12:59 PM, Tony Richardson wrote:
I've noticed that the two cases: varargout = cell (nargout, 1); [varargout{:}] = svd(varargin{:}); and [varargout{1:nargout}] = svd(varargin{:}); behave differently when called with no output arguments: xsvd(rand(2)).The first case returns nothing i.e. ans is not set, while the second case seems to behave normally.
I pushed the following changeset to fix that problem: http://hg.savannah.gnu.org/hgweb/octave/rev/56c209ff0a08 jwe
[Prev in Thread] | Current Thread | [Next in Thread] |