From b563c6af2d818c0fde28d006e23dda00cd16fb51 Mon Sep 17 00:00:00 2001 From: Adriano Meligrana <68152031+Tortar@users.noreply.github.com> Date: Mon, 11 Nov 2024 01:26:28 +0100 Subject: [PATCH] Update search_and_matching.jl --- src/markets/search_and_matching.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/markets/search_and_matching.jl b/src/markets/search_and_matching.jl index bc0e826..4c06e57 100644 --- a/src/markets/search_and_matching.jl +++ b/src/markets/search_and_matching.jl @@ -581,7 +581,7 @@ end function create_weighted_sampler(P_f, S_f, F_g) w_cum_f_ = compute_price_size_weights(P_f, S_f, F_g) - sampler = WDynSampler() + sampler = DynamicSampler() sizehint!(sampler, length(F_g)) append!(sampler, (1:length(F_g), w_cum_f_)) return sampler