Skip to content

Commit e3f0037

Browse files
authored
Fix check
1 parent ad2d442 commit e3f0037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SamplingInterface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Base.@constprop :aggressive function itsample(rng::AbstractRNG, iter, n::Int, me
183183
s = ReservoirSample{iter_type}(rng, n, method, ImmutSample(), ordered ? Ord() : Unord())
184184
return update_all!(s, iter, ordered)
185185
else
186-
m = method isa AlgL || method isa AlgR || method isa AlgORDS() ? AlgORDS() : AlgORDSWR()
186+
m = method isa AlgL || method isa AlgR || method isa AlgORDS ? AlgORDS() : AlgORDSWR()
187187
s = collect(StreamSample{iter_type}(rng, iter, n, length(iter), m))
188188
return ordered ? s : shuffle!(rng, s)
189189
end

0 commit comments

Comments
 (0)