mirror of
https://github.com/ROCm/jax.git
synced 2025-04-19 05:16:06 +00:00
Merge pull request #11945 from hawkinsp:tol
PiperOrigin-RevId: 467986622
This commit is contained in:
commit
78c231e825
@ -299,7 +299,7 @@ class NumpyLinalgTest(jtu.JaxTestCase):
|
||||
a, = args_maker()
|
||||
w1, _ = jnp.linalg.eig(a)
|
||||
w2 = jnp.linalg.eigvals(a)
|
||||
self.assertAllClose(w1, w2, rtol={np.complex128: 1e-14})
|
||||
self.assertAllClose(w1, w2, rtol={np.complex64: 1e-5, np.complex128: 1e-14})
|
||||
|
||||
@jtu.skip_on_devices("gpu", "tpu")
|
||||
def testEigvalsInf(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user