Skip to content

Commit df4ee21

Browse files
committed
drop unnecessary qualification of function
1 parent 004a468 commit df4ee21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/methods.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ which has cumulative probability vector `p_cumulative` (see
248248
249249
"""
250250
function _rand(rng, p_cumulative, R)
251-
real_sample = Base.rand(rng)*p_cumulative[end]
251+
real_sample = rand(rng)*p_cumulative[end]
252252
K = R(length(p_cumulative))
253253
index = K
254254
for i in R(2):R(K)

0 commit comments

Comments
 (0)