Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 675256958
  • Loading branch information
JAXopt authors committed Sep 16, 2024
1 parent 6d88292 commit 66d90db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/lbfgs_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +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, rtol=3e-5)

self.assertLessEqual(jaxopt_val, scipy_val + 3e-5)

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

0 comments on commit 66d90db

Please sign in to comment.