Skip to content

Commit 19bf9bd

Browse files
committed
fix test_step
1 parent 2970d18 commit 19bf9bd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pymc3/tests/test_step.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,7 @@ def check_trace(self, step_method):
163163
with Model():
164164
x = Normal('x', mu=0, sd=1)
165165
if step_method.__name__ == 'SMC':
166-
Deterministic('like', - 0.5 * tt.log(2 * np.pi) - 0.5 * x.T.dot(x))
167-
trace = smc.ATMIP_sample(n_steps=n_steps, step=step_method(random_seed=1),
166+
trace = smc.sample_SMC(n_steps=n_steps, step=step_method(random_seed=1),
168167
n_jobs=1, progressbar=False,
169168
homepath=self.temp_dir)
170169
else:

0 commit comments

Comments
 (0)