Skip to content

Commit

Permalink
fix small type instability
Browse files Browse the repository at this point in the history
  • Loading branch information
stecrotti committed Sep 4, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent f9ff423 commit ae7bd61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sampling.jl
Original file line number Diff line number Diff line change
@@ -255,7 +255,7 @@ function simulate_queue_sis!(x, g, P0, λ, μ, α, T;
end


function continuous_sis_sampler(sis, T, λ, ρ; α=0, nsamples = 10^5, sites=1:nv(sis.g), Δt=T/200,
function continuous_sis_sampler(sis, T, λ, ρ; α=0.0, nsamples = 10^5, sites=1:nv(sis.g), Δt=T/200,
discard_dead_epidemics=false, rng = GLOBAL_RNG)
K = floor(Int, T/Δt)+1
N = nv(sis.g)

0 comments on commit ae7bd61

Please sign in to comment.