Skip to content

Commit 2022b91

Browse files
committed
Allow more flexibility in approx Hessian
1 parent 9ae8bf9 commit 2022b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pybobyqa/tests/test_solver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def runTest(self):
123123
soln = pybobyqa.solve(objfun, x0)
124124
self.assertTrue(array_compare(soln.x, xmin, thresh=1e-2), "Wrong xmin")
125125
self.assertTrue(array_compare(soln.gradient, gradfun(soln.x), thresh=1e-2), "Wrong gradient")
126-
self.assertTrue(array_compare(soln.hessian, hessfun, thresh=0.6), "Wrong Hessian")
126+
self.assertTrue(array_compare(soln.hessian, hessfun, thresh=1.0), "Wrong Hessian")
127127
self.assertTrue(abs(soln.f - fmin) < 1e-4, "Wrong fmin")
128128

129129

0 commit comments

Comments
 (0)