Skip to content

Commit

Permalink
Merge pull request jax-ml#10886 from hawkinsp:tol
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 452050601
  • Loading branch information
jax authors committed May 31, 2022
2 parents d43cb36 + 400612f commit afe9fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lax_scipy_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ def test_spectral_dac_eigh(self, linear_size, seed, dtype, termination_size):
atol = jnp.linalg.norm(H) * eps
self.assertAllClose(ev_exp, jnp.sort(evs), atol=20 * atol)
self.assertAllClose(
HV, vV, atol=atol * (70 if jnp.issubdtype(dtype, jnp.complexfloating)
HV, vV, atol=atol * (80 if jnp.issubdtype(dtype, jnp.complexfloating)
else 30))

@parameterized.named_parameters(jtu.cases_from_list(
Expand Down

0 comments on commit afe9fa3

Please sign in to comment.