Skip to content

Commit 85f531d

Browse files
committed
fix tests
1 parent f0af6a2 commit 85f531d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/samplers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ mutable struct NStepBatchSampler{traces}
9999
rng::Any
100100
end
101101

102-
NStepBatchSampler(; kw...) = NStepBatchSampler{SSART}(; kw...)
102+
NStepBatchSampler(; kw...) = NStepBatchSampler{SS′ART}(; kw...)
103103
NStepBatchSampler{names}(; n, γ, batch_size=32, stack_size=nothing, rng=Random.GLOBAL_RNG) where {names} = NStepBatchSampler{names}(n, γ, batch_size, stack_size, rng)
104104

105105
function sample(s::NStepBatchSampler{names}, ts) where {names}

test/samplers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ end
106106
@test size(xs2.terminal) == (batch_size,)
107107

108108
inds = [3, 5, 7]
109-
xs3 = RLTrajectories.sample(s1, t2, Val(SSART), inds)
109+
xs3 = RLTrajectories.sample(s1, t2, Val(SS′ART), inds)
110110

111111
@test xs3.state == cat(
112112
(

0 commit comments

Comments
 (0)