Skip to content

Commit 2330236

Browse files
authored
Fix value error: 0.7 -> 0.5 (#795)
1 parent 034fe71 commit 2330236

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
@@ -166,7 +166,7 @@ Getting started: 1D optimization
166166
---------------------------------
167167

168168
Let's get started by finding the minimum of the scalar function
169-
:math:`f(x)=\exp[(x-0.7)^2]`. :func:`scipy.optimize.minimize_scalar` uses
169+
:math:`f(x)=\exp[(x-0.5)^2]`. :func:`scipy.optimize.minimize_scalar` uses
170170
Brent's method to find the minimum of a function:
171171

172172
::

0 commit comments

Comments
 (0)