Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdfish committed Oct 13, 2024
2 parents b9509a8 + df39496 commit 0f8f1c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/LNR.jl
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ function simulate(rng::AbstractRNG, model::AbstractLNR; n_steps = 100, _...)
n = length(ν)
νs = @. rand(rng, Normal(ν, σ))
βs = @. exp(νs)
_,choice = findmax(βs)
_, choice = findmax(βs)
t = 1 / βs[choice]
evidence = collect.(range.(0, βs * t, length = 100))
time_steps = range(0, t, length = n_steps)
return time_steps, hcat(evidence...)
end
end
1 change: 0 additions & 1 deletion test/plots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@
plot_model(dist; add_density = true, n_sim = 2, density_kwargs, xlims = (0, 1.2))
end


@safetestset "WaldMixture" begin
using Plots
using SequentialSamplingModels
Expand Down

0 comments on commit 0f8f1c5

Please sign in to comment.