Skip to content

Commit 1ed1753

Browse files
hawkinsptensorflower-gardener
authored andcommitted
[scipy] Fix test failures under SciPy 1.14.
This change updates code that fails under SciPy 1.14. Scipy 1.14.0 release notes: https://docs.scipy.org/doc/scipy/release/1.14.0-notes.html#backwards-incompatible-changes PiperOrigin-RevId: 747886518
1 parent 6428694 commit 1ed1753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow_probability/python/distributions/two_piece_student_t_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def testSurvivalFunction(self):
276276
sf,
277277
expected_sf,
278278
atol=0.,
279-
rtol=1e-6 if self.dtype == np.float32 else 5e-11)
279+
rtol=2e-6 if self.dtype == np.float32 else 5e-11)
280280

281281
def testQuantile(self):
282282
dist = self.make_two_piece_student_ts()

0 commit comments

Comments
 (0)