Skip to content

Commit

Permalink
Update wsample.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Tortar authored Oct 28, 2024
1 parent 1530e6f commit a8e9d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/wsample.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ function wsample_single(a, w)
break
end
end
return a[j]
return @inbounds a[j]
end

0 comments on commit a8e9d19

Please sign in to comment.