From 3ba10703302dde89256127f759e804df1c15c9b3 Mon Sep 17 00:00:00 2001 From: Ricardo Date: Mon, 23 May 2022 13:05:09 +0200 Subject: [PATCH] Seed sampling in TestNutsCheckTrace.test_linalg --- pymc/tests/test_step.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymc/tests/test_step.py b/pymc/tests/test_step.py index 7bb12d9b634..7c89c91005d 100644 --- a/pymc/tests/test_step.py +++ b/pymc/tests/test_step.py @@ -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 (