We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f05881 commit 5b01908Copy full SHA for 5b01908
src/rng.jl
@@ -46,7 +46,7 @@ Split keys of the internal Philox2x into n distinct seeds
46
"""
47
function split(r::TracedRNG{T}, n::Integer) where {T}
48
n == 1 && return [r.rng.key]
49
- return map(i -> hash(r.rng.key, r.rng.ctr1 + i), 1:n)
+ return map(i -> hash(r.rng.key, convert(UInt, r.rng.ctr1 + i)), 1:n)
50
end
51
52
0 commit comments