Skip to content

Commit

Permalink
TEST: Raise atol in test for optimize.nelder_mead (#667)
Browse files Browse the repository at this point in the history
  • Loading branch information
oyamad committed Dec 17, 2022
1 parent 5fc565c commit 5d46fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantecon/optimize/tests/test_nelder_mead.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def test_rotated_hyper_ellipsoid(self):
results = nelder_mead(rotated_hyper_ellipsoid, x0, bounds=bounds,
tol_x=1e-30, tol_f=1e-30)

assert_allclose(results.x, sol, atol=1e-7)
assert_allclose(results.x, sol, atol=1e-6)
assert_allclose(results.fun, fun, atol=1e-7)

def test_booth(self):
Expand Down

0 comments on commit 5d46fc3

Please sign in to comment.