Skip to content

Commit

Permalink
Revert changes in TestSMC::test_sample due to old pickling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoV94 committed Jul 23, 2021
1 parent 4a30ad6 commit 9688ee7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pymc3/tests/test_smc.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,7 @@ def two_gaussians(x):

def test_sample(self):
with self.SMC_test:

mtrace = pm.sample_smc(
draws=self.samples,
cores=1, # Fails in parallel due to #4799
return_inferencedata=False,
)
mtrace = pm.sample_smc(draws=self.samples, return_inferencedata=False)

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

0 comments on commit 9688ee7

Please sign in to comment.