diff --git a/c/examples/cobyla/cobyla_example.c b/c/examples/cobyla/cobyla_example.c index b6d08e35e5..f381abb92f 100644 --- a/c/examples/cobyla/cobyla_example.c +++ b/c/examples/cobyla/cobyla_example.c @@ -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};