Skip to content

Commit e40c362

Browse files
committed
add test for deterministics
1 parent ca96ee8 commit e40c362

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_trace.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ def test_trace():
2525

2626
for h in [pm.NpTrace]:
2727
for n in [20, 1000]:
28-
trace = h(model.vars)
28+
for [model.vars, model.vars + [model.vars[0]**2]]:
29+
trace = h(model.vars)
2930

30-
yield check_trace, model, trace, n, step, start
31+
yield check_trace, model, trace, n, step, start
3132

3233
def test_multitrace():
3334
if not test_parallel:

0 commit comments

Comments
 (0)