Skip to content

Commit c672e3a

Browse files
committed
Fix test
1 parent 765c7ee commit c672e3a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/sampler.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
chn = sample(model, spl, N_iters; progress=false, chain_type=MCMCChains.Chains)
5353
initial_value = chn[:x][1]
5454
@test all(chn[:x] .== initial_value) # sanity check
55-
# using `initial_state`
5655
chn2 = sample(
5756
model,
5857
spl,
@@ -62,7 +61,6 @@
6261
chain_type=MCMCChains.Chains,
6362
)
6463
@test all(chn2[:x] .== initial_value)
65-
@test all(chn3[:x] .== initial_value)
6664
end
6765

6866
@testset "multiple-chain sampling" begin
@@ -77,7 +75,6 @@
7775
)
7876
initial_value = chn[:x][1, :]
7977
@test all(i -> chn[:x][i, :] == initial_value, 1:N_iters) # sanity check
80-
# using `initial_state`
8178
chn2 = sample(
8279
model,
8380
spl,
@@ -89,7 +86,6 @@
8986
chain_type=MCMCChains.Chains,
9087
)
9188
@test all(i -> chn2[:x][i, :] == initial_value, 1:N_iters)
92-
@test all(i -> chn3[:x][i, :] == initial_value, 1:N_iters)
9389
end
9490
end
9591

0 commit comments

Comments
 (0)