Skip to content

Commit 2e55c19

Browse files
committed
revert incorrect rename
1 parent f6b8973 commit 2e55c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/samplers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ BatchSampler{names}(batch_size; kw...) where {names} = BatchSampler{names}(; bat
4545
BatchSampler{names}(; batch_size, rng=Random.GLOBAL_RNG) where {names} = BatchSampler{names}(batch_size, rng)
4646

4747
sample(s::BatchSampler{nothing}, t::AbstractTraces) = sample(s, t, keys(t))
48-
sample(s::BatchSampler{names}, t::AbstractTraces) where {names} = _sample(s, t, names)
48+
sample(s::BatchSampler{names}, t::AbstractTraces) where {names} = sample(s, t, names)
4949

5050
function sample(s::BatchSampler, t::AbstractTraces, names)
5151
inds = rand(s.rng, 1:length(t), s.batch_size)

0 commit comments

Comments
 (0)