Mercurial > forge
changeset 2728:2b40ad4523fa octave-forge
function_handle and not function handle
author | adb014 |
---|---|
date | Thu, 19 Oct 2006 17:42:52 +0000 |
parents | 99357f5d45aa |
children | d067edf6a662 |
files | main/optim/inst/fzero.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/main/optim/inst/fzero.m Thu Oct 19 09:39:17 2006 +0000 +++ b/main/optim/inst/fzero.m Thu Oct 19 17:42:52 2006 +0000 @@ -127,7 +127,7 @@ usage("[x, fx, info] = fzero(@fcn, [lo,hi]|start, options)"); endif - if !ischar(Func) && !isa(Func,"function handle") && !isa(Func,"inline function") + if !ischar(Func) && !isa(Func,"function_handle") && !isa(Func,"inline function") error("fzero expects a function as the first argument"); endif bracket = bracket(:);