Skip to content

Commit

Permalink
240409.122140.HKT correct a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Apr 9, 2024
1 parent 2eab30c commit da25bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/examples/cobyla/cobyla_example.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ int main(int argc, char * argv[])
problem.calcfc = &fun;
// Provide the initial values of the objective function and the nonlinear constraints.
// This is OPTIONAL, and end users should NOT do it in general. Here, we do it for testing.
// problme.f0 and problem.nlconstr0 are used when interfacing with Python and Julia etc.
// problem.f0 and problem.nlconstr0 are used when interfacing with Python and Julia etc.
// They are not designed for C users.See the documentation of `prima_problem_t` for details.
#if PROVIDE_INITIAL_F_AND_NLCONSTR
double nlconstr0[M_NLCON] = {0};
Expand Down

0 comments on commit da25bfd

Please sign in to comment.