Skip to content

Commit 0f1d67f

Browse files
nsajkorfourquet
andcommitted
simpler dispatch constraint
Co-authored-by: Rafael Fourquet <fourquet.rafael@gmail.com>
1 parent c881c9b commit 0f1d67f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/Random/src/misc.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ ltm52(n::Int, mask::Int=nextpow(2, n)-1) = LessThan(n-1, Masked(mask, UInt52Raw(
183183

184184
## shuffle & shuffle!
185185

186-
function shuffle(rng::AbstractRNG, tup::(Tuple{Vararg{T, N}} where {T})) where {N}
186+
function shuffle(rng::AbstractRNG, tup::NTuple{N}) where {N}
187187
@inline let # `@inline` and `@inbounds` are here to help escape analysis
188188
# use a narrow integer type to save stack space and prevent heap allocation
189189
Ind = if N typemax(UInt8)

0 commit comments

Comments
 (0)