Skip to content

Commit 9e67b8e

Browse files
authored
Update DynamicDiscreteSamplers.jl
1 parent 0320c9a commit 9e67b8e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DynamicDiscreteSamplers.jl

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ isdefined(@__MODULE__, :Memory) || const Memory = Vector # Compat for Julia < 1.
99
const DEBUG = Base.JLOptions().check_bounds == 1
1010
_convert(T, x) = DEBUG ? T(x) : x%T
1111

12+
const BIGPOWS2 = [BigInt(2)^i for i in 1:2046]
13+
1214
"""
1315
Weights <: AbstractVector{Float64}
1416

0 commit comments

Comments
 (0)