Skip to content

Commit 78c11d1

Browse files
committed
Update test threshold for newer Python versions
1 parent 25d5778 commit 78c11d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dfols/tests/test_solver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,6 @@ def runTest(self):
168168
self.assertTrue(array_compare(soln.resid, objfun(soln.x), thresh=1e-10), "Wrong resid")
169169
print(soln.jacobian)
170170
print(jac(soln.x))
171-
self.assertTrue(array_compare(soln.jacobian, jac(soln.x), thresh=1e-2), "Wrong Jacobian")
171+
self.assertTrue(array_compare(soln.jacobian, jac(soln.x), thresh=1e-1), "Wrong Jacobian")
172172
self.assertTrue(abs(soln.f) < 1e-10, "Wrong fmin")
173173

0 commit comments

Comments
 (0)