Skip to content

Commit 7b76f67

Browse files
natazielricardoV94
andauthored
pass generator into draw call
Co-authored-by: Ricardo Vieira <[email protected]>
1 parent 71019cc commit 7b76f67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/distributions/test_timeseries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ def test_batched_size(self, explicit_shape, batched_param):
803803
with Model() as t0:
804804
y = GARCH11("y", **kwargs0)
805805

806-
y_eval = draw(y, draws=2, random_seed=random_seed)
806+
y_eval = draw(y, draws=2, random_seed=rng)
807807
assert y_eval[0].shape == (batch_size, steps)
808808
assert not np.any(np.isclose(y_eval[0], y_eval[1]))
809809

0 commit comments

Comments
 (0)