Skip to content

Commit f1a029b

Browse files
author
Christopher Fonnesbeck
committed
Added slice to test_step
1 parent bf56122 commit f1a029b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc/tests/test_step.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ def test_step_continuous():
1313

1414
hmc = pm.HamiltonianMC(model.vars, C, is_cov = True, model = model)
1515
mh = pm.Metropolis(model.vars , C, is_cov = True, scaling = 2, model = model)
16+
slicer = pm.Slice(model.vars, model=model)
1617
compound = pm.CompoundStep([hmc, mh])
1718

18-
steps = [mh, hmc, compound]
19+
steps = [mh, hmc, compound, slicer]
1920

2021
unc = np.diag(C)**.5
2122
check = [('x', np.mean, mu, unc/10.),
@@ -33,4 +34,3 @@ def test_step_continuous():
3334

3435

3536

36-

0 commit comments

Comments
 (0)