Skip to content

Commit d5eebc0

Browse files
Seed flaky TestSamplePPC.test_deterministic_of_observed_modified_interface
1 parent a44cb05 commit d5eebc0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pymc3/tests/test_sampling.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,8 @@ def test_deterministic_of_observed(self):
678678
npt.assert_allclose(ppc["in_1"] + ppc["in_2"], ppc["out"], rtol=rtol)
679679

680680
def test_deterministic_of_observed_modified_interface(self):
681+
np.random.seed(4982)
682+
681683
meas_in_1 = pm.aesaraf.floatX(2 + 4 * np.random.randn(100))
682684
meas_in_2 = pm.aesaraf.floatX(5 + 4 * np.random.randn(100))
683685
with pm.Model() as model:

0 commit comments

Comments
 (0)