Skip to content

Commit aa4427b

Browse files
authored
Fix TestNUTSLKJCholeskyCov (#2997)
* Fix TestNUTSLKJCholeskyCov * More explicit args
1 parent fd3685b commit aa4427b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/tests/sampler_fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def make_model(cls):
110110
with pm.Model() as model:
111111
sd_mu = np.array([1, 2, 3, 4, 5])
112112
sd_dist = pm.Lognormal.dist(mu=sd_mu, sd=sd_mu / 10., shape=5)
113-
chol_packed = pm.LKJCholeskyCov('chol_packed', 5, 3, sd_dist)
113+
chol_packed = pm.LKJCholeskyCov('chol_packed', eta=3, n=5, sd_dist=sd_dist)
114114
chol = pm.expand_packed_triangular(5, chol_packed, lower=True)
115115
cov = tt.dot(chol, chol.T)
116116
stds = tt.sqrt(tt.diag(cov))

0 commit comments

Comments
 (0)