Skip to content

Commit

Permalink
Seed sampling in TestNutsCheckTrace.test_linalg
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoV94 committed May 24, 2022
1 parent 15431d9 commit 62e1e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymc/tests/test_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def test_linalg(self, caplog):
b = at.slinalg.solve(floatX(np.eye(2)), a, check_finite=False)
Normal("c", mu=b, size=2, initval=floatX(np.r_[0.0, 0.0]))
caplog.clear()
trace = sample(20, tune=5, chains=2, return_inferencedata=False)
trace = sample(20, tune=5, chains=2, return_inferencedata=False, random_seed=526)
warns = [msg.msg for msg in caplog.records]
assert np.any(trace["diverging"])
assert (
Expand Down

0 comments on commit 62e1e9d

Please sign in to comment.