Skip to content

Commit 1fcb0d1

Browse files
ricardoV94twiecki
authored andcommitted
Fix unused expression in test_pathfinder
1 parent 74dccd8 commit 1fcb0d1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pymc_experimental/tests/test_pathfinder.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ def test_pathfinder():
3434
tau = pm.HalfCauchy("tau", 5.0)
3535

3636
theta = pm.Normal("theta", mu=0, sigma=1, shape=J)
37-
theta_1 = mu + tau * theta
38-
obs = pm.Normal("obs", mu=theta, sigma=sigma, shape=J, observed=y)
37+
obs = pm.Normal("obs", mu=mu + tau * theta, sigma=sigma, shape=J, observed=y)
3938

4039
idata = pmx.fit(method="pathfinder", iterations=100)
4140

0 commit comments

Comments
 (0)