Skip to content

Commit 7b9664c

Browse files
committed
fix up a few referencs in optimal documentation
1 parent d44bc84 commit 7b9664c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/optimal.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ state and/or input, either along the trajectory and at the terminal time.
221221
The optimal control module operates by converting the optimal control
222222
problem into a standard optimization problem that can be solved by
223223
:func:`scipy.optimize.minimize`. The optimal control problem can be solved
224-
by using the :func:`~control.obc.solve_ocp` function::
224+
by using the :func:`~control.optimal.solve_ocp` function::
225225

226226
res = obc.solve_ocp(sys, timepts, X0, cost, constraints)
227227

@@ -467,6 +467,10 @@ formulations.
467467

468468
Module classes and functions
469469
============================
470+
471+
The following classes and functions are defined in the
472+
``optimal`` module:
473+
470474
.. autosummary::
471475
:toctree: generated/
472476
:template: custom-class-template.rst

0 commit comments

Comments
 (0)