Skip to content

Commit 413d8c2

Browse files
mattiadgricardoV94
authored andcommitted
Seed pm.sample in BaseSampler to make all tests in the group deterministic
1 parent 4605595 commit 413d8c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pymc/tests/sampler_fixtures.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ def setup_class(cls):
149149
cores=cls.chains,
150150
return_inferencedata=False,
151151
compute_convergence_checks=False,
152+
random_seed=cls.random_seed,
152153
)
153154
cls.samples = {}
154155
for var in cls.model.unobserved_RVs:

0 commit comments

Comments
 (0)