Skip to content

Commit cf5108e

Browse files
Set seed for TestSamplePPC.test_deterministic_of_observed
1 parent ea1b038 commit cf5108e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pymc3/tests/test_sampling.py

+2
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,8 @@ def test_model_shared_variable(self):
655655
npt.assert_allclose(post_pred["p"], expected_p)
656656

657657
def test_deterministic_of_observed(self):
658+
np.random.seed(8442)
659+
658660
meas_in_1 = pm.aesaraf.floatX(2 + 4 * np.random.randn(10))
659661
meas_in_2 = pm.aesaraf.floatX(5 + 4 * np.random.randn(10))
660662
nchains = 2

0 commit comments

Comments
 (0)