Skip to content

Commit 76ae566

Browse files
committed
Change n_chains to 1
1 parent 2d192ac commit 76ae566

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pymc/tests/test_distributions_timeseries.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ def check_not_implemented(self):
5858
with pytest.raises(NotImplementedError):
5959
self.pymc_rv.eval()
6060

61-
# TODO: Move this out of this test class, not related, makes more sense together with
62-
# the other logp tests
6361
def test_grw_inference(self):
6462
mu, sigma, steps = 2, 1, 10000
6563
obs = np.concatenate([[0], np.random.normal(mu, sigma, size=steps)]).cumsum()
@@ -71,7 +69,7 @@ def test_grw_inference(self):
7169
obs_data = pm.MutableData("obs_data", obs)
7270
grw = GaussianRandomWalk("grw", _mu, _sigma, steps=steps, observed=obs_data)
7371

74-
trace = pm.sample()
72+
trace = pm.sample(chains=1)
7573

7674
recovered_mu = trace.posterior["mu"].mean()
7775
recovered_sigma = trace.posterior["sigma"].mean()

0 commit comments

Comments
 (0)