Skip to content

Commit

Permalink
Increase tolerance of test in gumbel_test.py.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 502797940
  • Loading branch information
franrruiz authored and DistraxDev committed Jan 18, 2023
1 parent c47c62f commit c82a2ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distrax/_src/distributions/gumbel_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def test_with_two_distributions(self, function_string, mode_string):
'loc': np.array(np.random.randn(3, 2), dtype=np.float32),
'scale': 0.1 + np.array(np.random.rand(4, 1, 2), dtype=np.float32),
},
assertion_fn=self.assertion_fn(rtol=5e-2))
assertion_fn=self.assertion_fn(rtol=6e-2))

def test_jittable(self):
super()._test_jittable(
Expand Down

0 comments on commit c82a2ea

Please sign in to comment.