From 18bb1ee4ce3216724dcb96cd1b8e6f20e7f891ec Mon Sep 17 00:00:00 2001 From: Natasha Date: Fri, 12 Oct 2018 16:17:09 -0400 Subject: [PATCH] fix brent_max docstring --- quantecon/optimize/scalar_maximization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantecon/optimize/scalar_maximization.py b/quantecon/optimize/scalar_maximization.py index 9eff745fb..e3d959f9d 100644 --- a/quantecon/optimize/scalar_maximization.py +++ b/quantecon/optimize/scalar_maximization.py @@ -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) ``` """