Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
damonbayer committed Jun 12, 2024
1 parent c4c4328 commit 1578815
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion model/src/test/test_latent_admissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_admissions_sample():
np.random.seed(223)
rt = RtRandomWalkProcess()
with npro.handlers.seed(rng_seed=np.random.randint(1, 600)):
sim_rt, *_ = rt.sample(duration=30)
sim_rt, *_ = rt.sample(n_timepoints=30)

gen_int = jnp.array([0.5, 0.1, 0.1, 0.2, 0.1])
i0 = 10 * jnp.ones_like(gen_int)
Expand Down
2 changes: 1 addition & 1 deletion model/src/test/test_latent_infections.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_infections_as_deterministic():
np.random.seed(223)
rt = RtRandomWalkProcess()
with npro.handlers.seed(rng_seed=np.random.randint(1, 600)):
sim_rt, *_ = rt.sample(duration=30)
sim_rt, *_ = rt.sample(n_timepoints=30)

gen_int = jnp.array([0.25, 0.25, 0.25, 0.25])

Expand Down

0 comments on commit 1578815

Please sign in to comment.