[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 diff
--- a/src/ov-builtin.cc
+++ b/src/ov-builtin.cc
@@ -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
+++ b/src/ov-usr-fcn.cc
@@ -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 ());
}