Skip to content

Commit

Permalink
Update search_and_matching.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Tortar authored Nov 11, 2024
1 parent b3a30cb commit b563c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/markets/search_and_matching.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b563c6a

Please sign in to comment.