Fix tolerance on bernoulli test

This commit is contained in:
Jake VanderPlas 2023-08-23 16:59:27 -07:00
parent f62b9eb3d1
commit 75d12a2e21

View File

@ -194,7 +194,7 @@ class LaxScipySpcialFunctionsTest(jtu.JaxTestCase):
lax_op = functools.partial(lsp_special.bernoulli, n)
args_maker = lambda: []
self._CheckAgainstNumpy(scipy_op, lax_op, args_maker, atol=0, rtol=1E-5)
self._CompileAndCheck(lax_op, args_maker)
self._CompileAndCheck(lax_op, args_maker, atol=0, rtol=1E-5)
if __name__ == "__main__":