Skip to content

Commit 7d2b8ee

Browse files
committed
merge typo
1 parent aebbe0e commit 7d2b8ee

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/samplers.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ function StatsBase.sample(s::BatchSampler, e::EpisodesBuffer{<:Any, <:Any, <:Cir
7676
w = StatsBase.FrequencyWeights(p)
7777
w .*= e.sampleable_inds[1:end-1]
7878
inds = StatsBase.sample(s.rng, eachindex(w), w, s.batchsize)
79-
inds = StatsBase.sample(s.rng, eachindex(w), w, s.batch_size)
8079
NamedTuple{(:key, :priority, names...)}((t.keys[inds], p[inds], map(x -> collect(t.traces[Val(x)][inds]), names)...))
8180
end
8281

0 commit comments

Comments
 (0)