# HG changeset patch # User jwe # Date 1109021964 0 # Node ID ee50a5f1e541a0fa2d2f0e768e60266d08c60e38 # Parent 9cb38bfb04eacfb6aa51d5a04b86c9484efb8d2e [project @ 2005-02-21 21:39:24 by jwe] diff -r 9cb38bfb04ea -r ee50a5f1e541 src/ov-builtin.cc --- 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 ()); } diff -r 9cb38bfb04ea -r ee50a5f1e541 src/ov-usr-fcn.cc --- 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 ()); }