From help-octave-request at che dot utexas dot edu Tue Jan 31 11:00:31 1995 Subject: Re: Octave SLOW From: John Eaton To: udina at upf dot es cc: doron at mickey dot mpi-hd dot mpg dot de (Eyal Doron), help-octave@che.utexas.edu Date: Tue, 31 Jan 95 10:56:49 CST udina at upf dot es 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 * 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