diff --git a/doc/docs/NLopt_C-plus-plus_Reference.md b/doc/docs/NLopt_C-plus-plus_Reference.md index 2cab5bd1..968c2127 100644 --- a/doc/docs/NLopt_C-plus-plus_Reference.md +++ b/doc/docs/NLopt_C-plus-plus_Reference.md @@ -342,10 +342,9 @@ Initial step size Just as in the C API, you can [get and set the initial step sizes](NLopt_Reference#initial-step-size) for derivative-free optimization algorithms. The C++ equivalents of the C functions are the following methods: ``` -void nlopt::opt::set_initial_step(const std::vector`` &dx); +void nlopt::opt::set_initial_step(const std::vector &dx); void nlopt::opt::set_initial_step(double dx); -void nlopt::opt::get_initial_step(const std::vector`` &x, std::vector`` &dx) const; -std::vector`` nlopt::opt::get_initial_step(const std::vector`` &x) const; +void nlopt::opt::get_initial_step(const std::vector &x, std::vector &dx) const; ```