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 13, 2024
1 parent 1b7c804 commit 4b96c41
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/markets/search_and_matching.jl
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,6 @@ function create_weighted_sampler(P_f, S_f, F_g)
sampler = DynamicSampler()
isempty(F_g) && return sampler
w_cum_f_ = compute_price_size_weights(P_f, S_f, F_g)
sizehint!(sampler, length(F_g))
append!(sampler, 1:length(F_g), w_cum_f_)
return sampler
end

0 comments on commit 4b96c41

Please sign in to comment.