Skip to content

Commit 9f8af4d

Browse files
committed
Fix tests SMC
1 parent 59d3475 commit 9f8af4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc/tests/test_smc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ def test_one_gaussian(self):
293293

294294
with self.SMABC_test:
295295
trace = pm.sample_smc(draws=1000, return_inferencedata=False)
296-
pr_p = pm.sample_prior_predictive(1000)
297-
po_p = pm.sample_posterior_predictive(trace, 1000)
296+
pr_p = pm.sample_prior_predictive(1000, return_inferencedata=False)
297+
po_p = pm.sample_posterior_predictive(trace, 1000, return_inferencedata=False)
298298

299299
assert abs(self.data.mean() - trace["a"].mean()) < 0.05
300300
assert abs(self.data.std() - trace["b"].mean()) < 0.05

0 commit comments

Comments
 (0)