[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave SLOW
From: |
John Eaton |
Subject: |
Re: Octave SLOW |
Date: |
Tue, 31 Jan 95 10:56:49 CST |
address@hidden wrote:
: BTW: why octave says
: warning: tic: ignoring extra arguments
: warning: toc: ignoring extra arguments
:
: when I call tic?
This is a bug in the way Octave sets values for nargin and nargout in
some cases. It's been fixed for 1.1.1 with the following patch:
Sun Jan 15 15:08:04 1995 John Eaton <address@hidden>
* src/tree-expr.cc (tree_function::eval (int)): Correctly set
nargin and nargout to zero when evaluating function.
*** src/tree-expr.cc~ 1995/01/13 03:10:51
--- src/tree-expr.cc 1995/01/15 19:36:12
***************
*** 2656,2663 ****
return retval;
Octave_object tmp_args;
! tmp_args.resize (1);
! Octave_object tmp = eval (print, 1, tmp_args);
if (! error_state && tmp.length () > 0)
retval = tmp(0);
--- 2656,2662 ----
return retval;
Octave_object tmp_args;
! Octave_object tmp = eval (print, 0, tmp_args);
if (! error_state && tmp.length () > 0)
retval = tmp(0);
Thanks,
jwe
- Octave SLOW, Eyal Doron, 1995/01/31
- Re: Octave SLOW,
John Eaton <=