Skip to content

Commit f2b164e

Browse files
committed
Debugging attempt
1 parent a7d5163 commit f2b164e

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
@@ -885,7 +885,7 @@ Lets try to minimize the norm of the following vectorial function::
885885
... return np.arctan(x) - np.arctan(np.linspace(0, 1, len(x)))
886886

887887
>>> x0 = np.zeros(10)
888-
>>> sp.optimize.leastsq(f, x0)
888+
>>> sp.optimize.leastsq(f, x0, full_output=True)
889889
(array([0. , 0.11111111, 0.22222222, 0.33333333, 0.44444444,
890890
0.55555556, 0.66666667, 0.77777778, 0.88888889, 1. ]), 2)
891891

0 commit comments

Comments
 (0)