From a8e9d1986e118972ef0193ab4960f5bdd530b5ec Mon Sep 17 00:00:00 2001 From: Adriano Meligrana <68152031+Tortar@users.noreply.github.com> Date: Mon, 28 Oct 2024 15:54:30 +0100 Subject: [PATCH] Update wsample.jl --- src/utils/wsample.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/wsample.jl b/src/utils/wsample.jl index 818e4e0..f57d505 100644 --- a/src/utils/wsample.jl +++ b/src/utils/wsample.jl @@ -13,5 +13,5 @@ function wsample_single(a, w) break end end - return a[j] + return @inbounds a[j] end