Skip to content

Commit 301b159

Browse files
committed
add test
1 parent e67a317 commit 301b159

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/distributions/test_multivariate.py

+6
Original file line numberDiff line numberDiff line change
@@ -2121,6 +2121,12 @@ def ref_rand(size, n, eta):
21212121
size=1000,
21222122
)
21232123

2124+
@pytest.mark.parametrize(argnames="n", argvalues=[2, 3], ids=["n=2", "n=3"])
2125+
def test_default_transform(self, n):
2126+
with pm.Model() as m:
2127+
pm.LKJCorr("x", n=n, eta=1)
2128+
m.logp()
2129+
21242130

21252131
class TestLKJCholeskyCov(BaseTestDistributionRandom):
21262132
pymc_dist = _LKJCholeskyCov

0 commit comments

Comments
 (0)