From 75d12a2e2151dd54f16b4b9976a6ae79f7a49058 Mon Sep 17 00:00:00 2001 From: Jake VanderPlas Date: Wed, 23 Aug 2023 16:59:27 -0700 Subject: [PATCH] Fix tolerance on bernoulli test --- tests/lax_scipy_special_functions_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lax_scipy_special_functions_test.py b/tests/lax_scipy_special_functions_test.py index c90058136..76362fe6b 100644 --- a/tests/lax_scipy_special_functions_test.py +++ b/tests/lax_scipy_special_functions_test.py @@ -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__":