From dd73cd5fc4e8e31ff163e3f7a1c2ce8a2b58339f Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Tue, 21 Jan 2025 13:20:12 -0800 Subject: [PATCH] Fix doctest --- advanced/mathematical_optimization/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/mathematical_optimization/index.rst b/advanced/mathematical_optimization/index.rst index 48944465..73658e56 100644 --- a/advanced/mathematical_optimization/index.rst +++ b/advanced/mathematical_optimization/index.rst @@ -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