octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63135] [octave forge] (optim) Optim package d


From: Markus Pristovsek
Subject: [Octave-bug-tracker] [bug #63135] [octave forge] (optim) Optim package does not find function handle
Date: Mon, 7 Nov 2022 20:38:30 -0500 (EST)

Follow-up Comment #2, bug #63135 (project octave):

To add further, it works also if the function is called from another
function.
++
function a()
...
learsq(x,y,p,fitfunc,...)
...
end

function [y]=fitfunc(k,l)
 y=k+l;
end
--
in the same file works.
++

function [y]=fitfunc(k,l)
 y=k+l;
end

learsq(x,y,p,@fitfunc,...)

--
does not.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63135>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]