Skip to content

Commit

Permalink
fix test type
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelBrand1 committed Jul 15, 2024
1 parent f71e5d3 commit 1194cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EpiAware/test/EpiLatentModels/models/RandomWalk.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ end
#Check that are in central 99% of the posterior predictive distribution
posterior_p_σ = ecdf(chn[][:])(Z_generated.σ)
posterior_p_σ_RW = ecdf(chn[:σ_RW][:])(Z_generated.σ_RW)
posterior_p_rinit = ecdf(chn[:rw_init][:])(obs_rand.rw_init)
posterior_p_rinit = ecdf(chn[:rw_init][:])(Z_generated.rw_init)

@test 0.005 < posterior_p_σ < 0.9995
@test 0.005 < posterior_p_σ_RW < 0.9995
Expand Down

0 comments on commit 1194cc4

Please sign in to comment.