Skip to content

Commit 0590767

Browse files
add regression test for issue 3965
1 parent d0de763 commit 0590767

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pymc3/tests/test_quadpotential.py

+6
Original file line numberDiff line numberDiff line change
@@ -283,3 +283,9 @@ def test_full_adapt_sampling(seed=289586):
283283
pymc3.sample(
284284
draws=10, tune=1000, random_seed=seed, step=step, cores=1, chains=1
285285
)
286+
287+
288+
def test_issue_3965():
289+
with pymc3.Model():
290+
pymc3.Normal('n')
291+
pymc3.sample(100, tune=300, chains=1, init='advi+adapt_diag_grad')

0 commit comments

Comments
 (0)