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 f6b8973 commit 2e55c19Copy full SHA for 2e55c19
src/samplers.jl
@@ -45,7 +45,7 @@ BatchSampler{names}(batch_size; kw...) where {names} = BatchSampler{names}(; bat
45
BatchSampler{names}(; batch_size, rng=Random.GLOBAL_RNG) where {names} = BatchSampler{names}(batch_size, rng)
46
47
sample(s::BatchSampler{nothing}, t::AbstractTraces) = sample(s, t, keys(t))
48
-sample(s::BatchSampler{names}, t::AbstractTraces) where {names} = _sample(s, t, names)
+sample(s::BatchSampler{names}, t::AbstractTraces) where {names} = sample(s, t, names)
49
50
function sample(s::BatchSampler, t::AbstractTraces, names)
51
inds = rand(s.rng, 1:length(t), s.batch_size)
0 commit comments