Mercurial > octave-dspies
changeset 5155:ee50a5f1e541
[project @ 2005-02-21 21:39:24 by jwe]
author | jwe |
---|---|
date | Mon, 21 Feb 2005 21:39:24 +0000 |
parents | 9cb38bfb04ea |
children | 7c3b22bafedc |
files | src/ov-builtin.cc src/ov-usr-fcn.cc |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ov-builtin.cc Mon Feb 21 21:23:28 2005 +0000 +++ b/src/ov-builtin.cc Mon Feb 21 21:39:24 2005 +0000 @@ -62,7 +62,7 @@ { case '(': { - int tmp_nargout = (type.length () > 0 && nargout == 0) ? 1 : nargout; + int tmp_nargout = (type.length () > 1 && nargout == 0) ? 1 : nargout; retval = do_multi_index_op (tmp_nargout, idx.front ()); }
--- a/src/ov-usr-fcn.cc Mon Feb 21 21:23:28 2005 +0000 +++ b/src/ov-usr-fcn.cc Mon Feb 21 21:39:24 2005 +0000 @@ -295,7 +295,7 @@ { case '(': { - int tmp_nargout = (type.length () > 0 && nargout == 0) ? 1 : nargout; + int tmp_nargout = (type.length () > 1 && nargout == 0) ? 1 : nargout; retval = do_multi_index_op (tmp_nargout, idx.front ()); }