Skip to content

Commit

Permalink
Merge pull request #440 from QuantEcon/fix-brent-ds
Browse files Browse the repository at this point in the history
fix brent_max docstring
  • Loading branch information
mmcky authored Oct 15, 2018
2 parents b52559f + 18bb1ee commit 13f49fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantecon/optimize/scalar_maximization.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def brent_max(func, a, b, args=(), xtol=1e-5, maxiter=500):
def f(x):
return -(x + 2.0)**2 + 1.0
xf, fval, info = maximize_scalar(f, -2, 2)
xf, fval, info = brent_max(f, -2, 2)
```
"""
Expand Down

0 comments on commit 13f49fa

Please sign in to comment.