From a8d646374f84383509901fe71398a9bf79dcb30c Mon Sep 17 00:00:00 2001 From: Adriano Meligrana <68152031+Tortar@users.noreply.github.com> Date: Sat, 2 Nov 2024 01:11:02 +0100 Subject: [PATCH] Update make_model_deterministic.jl --- test/deterministic/make_model_deterministic.jl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/deterministic/make_model_deterministic.jl b/test/deterministic/make_model_deterministic.jl index bccb4bb..e56a9cc 100644 --- a/test/deterministic/make_model_deterministic.jl +++ b/test/deterministic/make_model_deterministic.jl @@ -30,3 +30,8 @@ end function wsample_single(v::UnitRange{Int64}, w::Vector{Float64}, wsum) return v[1] end + +function wsample_single_2(v::UnitRange{Int64}, w::Vector{Float64}, wmax) + return v[1] +end +