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

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

[Octave-bug-tracker] [bug #63858] fmincon fails in Octave 7.1.0, but not


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #63858] fmincon fails in Octave 7.1.0, but not Octave 6.3
Date: Wed, 1 Mar 2023 17:32:06 -0500 (EST)

Follow-up Comment #1, bug #63858 (project octave):

Before octave 7 calling a function with too many arguments was allowed to
silently continue. In octave 7 this was changed to give the first error
message you received. It tells you that occurred with an anonymous function,
this is usually but not always one the user defined. In your code, you only
define one anonymous function:

@(beta) objfun_g(beta,mg,ms,Lps,params)


And in both your example and the help text example that's only a one parameter
function. So might need to step through the code to see why this is happening


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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