Skip to content

Commit

Permalink
Fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman committed Jan 21, 2025
1 parent 8260dfa commit dd73cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion advanced/mathematical_optimization/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ support bound constraints with the parameter ``bounds``::
>>> def f(x):
... return np.sqrt((x[0] - 3)**2 + (x[1] - 2)**2)
>>> sp.optimize.minimize(f, np.array([0, 0]), bounds=((-1.5, 1.5), (-1.5, 1.5)))
message: CONVERGENCE: NORM OF PROJECTED GRADIENT <=_PGTOL
message: CONVERGENCE: NORM OF PROJECTED GRADIENT <= PGTOL
success: True
status: 0
fun: 1.5811388300841898
Expand Down

0 comments on commit dd73cd5

Please sign in to comment.