Skip to content

Commit 0f8f1c5

Browse files
committed
2 parents b9509a8 + df39496 commit 0f8f1c5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/LNR.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ function simulate(rng::AbstractRNG, model::AbstractLNR; n_steps = 100, _...)
129129
n = length(ν)
130130
νs = @. rand(rng, Normal(ν, σ))
131131
βs = @. exp(νs)
132-
_,choice = findmax(βs)
132+
_, choice = findmax(βs)
133133
t = 1 / βs[choice]
134134
evidence = collect.(range.(0, βs * t, length = 100))
135135
time_steps = range(0, t, length = n_steps)
136136
return time_steps, hcat(evidence...)
137-
end
137+
end

test/plots.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@
265265
plot_model(dist; add_density = true, n_sim = 2, density_kwargs, xlims = (0, 1.2))
266266
end
267267

268-
269268
@safetestset "WaldMixture" begin
270269
using Plots
271270
using SequentialSamplingModels

0 commit comments

Comments
 (0)