diff --git a/src/markets/search_and_matching.jl b/src/markets/search_and_matching.jl index a147d6b..e9d020d 100644 --- a/src/markets/search_and_matching.jl +++ b/src/markets/search_and_matching.jl @@ -521,7 +521,7 @@ function perform_retail_market!( for j in eachindex(H_g) h = H_g[j] - e = wsample_single(1:length(F_g), pr_cum_f_) # SLOW + e = wsample_single(1:length(F_g), pr_cum_f_) f = F_g[e] if S_fg[f] > C_d_hg[h] / P_f[f]