Skip to content

Commit

Permalink
TST: increase tolerance in optimize/tnc test_tnc1b
Browse files Browse the repository at this point in the history
This is the same as 08c4211, which was overwritten during a merge.
  • Loading branch information
Denis Laxalde committed Feb 7, 2012
1 parent a4cd737 commit 1983db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scipy/optimize/tests/test_optimize.py
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ def test_minimize_tnc1b(self):
xopt = [1, 1]
x = optimize.minimize(self.f1, x0, method='TNC',
bounds=bnds, options=self.opts)
assert_allclose(self.f1(x), self.f1(xopt), atol=1e-6)
assert_allclose(self.f1(x), self.f1(xopt), atol=1e-4)

def test_minimize_tnc2(self):
"""Minimize, method=TNC, 2"""
Expand Down

0 comments on commit 1983db6

Please sign in to comment.