Skip to content

Commit

Permalink
[scipy] Relax tolerances of some tests that fail under SciPy 1.12.0.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 651788032
  • Loading branch information
hawkinsp authored and JAXopt authors committed Jul 13, 2024
1 parent 4a50198 commit bef9a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lbfgs_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def binary_logit_log_likelihood_jax(beta, y, x):
onp.asarray(y),
onp.asarray(x))
jaxopt_val = binary_logit_log_likelihood(jaxopt_res, y, x)
self.assertArraysAllClose(scipy_val, jaxopt_val)
self.assertArraysAllClose(scipy_val, jaxopt_val, rtol=3e-5)


@parameterized.product(linesearch=['zoom', 'backtracking', 'hager-zhang'])
Expand Down

0 comments on commit bef9a0b

Please sign in to comment.