Skip to content

Commit b5bc9ff

Browse files
committed
Reintroduce default sampling settings in TestSMC::test_sample
1 parent 86f8847 commit b5bc9ff

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pymc3/tests/test_smc.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,7 @@ def two_gaussians(x):
7272

7373
def test_sample(self):
7474
with self.SMC_test:
75-
76-
mtrace = pm.sample_smc(
77-
draws=self.samples,
78-
cores=1, # Fails in parallel due to #4799
79-
return_inferencedata=False,
80-
)
75+
mtrace = pm.sample_smc(draws=self.samples, return_inferencedata=False)
8176

8277
x = mtrace["X"]
8378
mu1d = np.abs(x).mean(axis=0)

0 commit comments

Comments
 (0)