File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 52
52
chn = sample (model, spl, N_iters; progress= false , chain_type= MCMCChains. Chains)
53
53
initial_value = chn[:x ][1 ]
54
54
@test all (chn[:x ] .== initial_value) # sanity check
55
- # using `initial_state`
56
55
chn2 = sample (
57
56
model,
58
57
spl,
62
61
chain_type= MCMCChains. Chains,
63
62
)
64
63
@test all (chn2[:x ] .== initial_value)
65
- @test all (chn3[:x ] .== initial_value)
66
64
end
67
65
68
66
@testset " multiple-chain sampling" begin
77
75
)
78
76
initial_value = chn[:x ][1 , :]
79
77
@test all (i -> chn[:x ][i, :] == initial_value, 1 : N_iters) # sanity check
80
- # using `initial_state`
81
78
chn2 = sample (
82
79
model,
83
80
spl,
89
86
chain_type= MCMCChains. Chains,
90
87
)
91
88
@test all (i -> chn2[:x ][i, :] == initial_value, 1 : N_iters)
92
- @test all (i -> chn3[:x ][i, :] == initial_value, 1 : N_iters)
93
89
end
94
90
end
95
91
You can’t perform that action at this time.
0 commit comments