Skip to content

Commit b4ac1d3

Browse files
committed
Fix test
1 parent 8ed6164 commit b4ac1d3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

test/mcmc/repeat_sampler.jl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ module RepeatSamplerTests
22

33
using ..Models: gdemo_default
44
using DynamicPPL: Sampler
5+
using MCMCChains: Chains
56
using StableRNGs: StableRNG
67
using Test: @test, @testset
78
using Turing
@@ -26,7 +27,13 @@ using Turing
2627
)
2728
repeat_sampler = RepeatSampler(sampler, num_repeats)
2829
chn2 = sample(
29-
copy(rng), gdemo_default, repeat_sampler, MCMCThreads(), num_samples, num_chains
30+
copy(rng),
31+
gdemo_default,
32+
repeat_sampler,
33+
MCMCThreads(),
34+
num_samples,
35+
num_chains;
36+
chain_type=Chains,
3037
)
3138
@test chn1.value == chn2.value
3239
end

0 commit comments

Comments
 (0)