Skip to content

Commit

Permalink
Set seed for TestSamplePPC.test_deterministic_of_observed
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonwillard committed Feb 26, 2021
1 parent 025c448 commit b3a2d2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pymc3/tests/test_sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,8 @@ def test_model_shared_variable(self):
npt.assert_allclose(post_pred["p"], expected_p)

def test_deterministic_of_observed(self):
np.random.seed(8442)

meas_in_1 = pm.aesaraf.floatX(2 + 4 * np.random.randn(10))
meas_in_2 = pm.aesaraf.floatX(5 + 4 * np.random.randn(10))
nchains = 2
Expand Down

0 comments on commit b3a2d2e

Please sign in to comment.