Skip to content

Commit dd73cd5

Browse files
committed
Fix doctest
1 parent 8260dfa commit dd73cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

advanced/mathematical_optimization/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ support bound constraints with the parameter ``bounds``::
957957
>>> def f(x):
958958
... return np.sqrt((x[0] - 3)**2 + (x[1] - 2)**2)
959959
>>> sp.optimize.minimize(f, np.array([0, 0]), bounds=((-1.5, 1.5), (-1.5, 1.5)))
960-
message: CONVERGENCE: NORM OF PROJECTED GRADIENT <=_PGTOL
960+
message: CONVERGENCE: NORM OF PROJECTED GRADIENT <= PGTOL
961961
success: True
962962
status: 0
963963
fun: 1.5811388300841898

0 commit comments

Comments
 (0)