Mercurial > hg > octave-lojdl
changeset 4820:a436d388b041
[project @ 2004-03-05 05:58:37 by jwe]
author | jwe |
---|---|
date | Fri, 05 Mar 2004 05:58:37 +0000 |
parents | de3b34644549 |
children | 22f024a25c4a |
files | scripts/general/deal.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/general/deal.m +++ b/scripts/general/deal.m @@ -67,7 +67,7 @@ if (nargin == 0) usage ("[a, b, c, d] = deal (x, y, z, a)"); elseif (nargin == 1 || nargin == nargout) - varargout(:) = varargin; + varargout(1:nargout) = varargin; else error ("deal: nargin > 1 and nargin != nargout"); endif