We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d1fc79 commit 3a9a758Copy full SHA for 3a9a758
test/runtests.jl
@@ -84,6 +84,11 @@ using Test
84
c2 = sample(m2, MetropolisHastings(p2), 100; chain_type=Vector{NamedTuple})
85
c3 = sample(m3, MetropolisHastings(p3), 100; chain_type=Vector{NamedTuple})
86
c4 = sample(m4, MetropolisHastings(p4), 100; chain_type=Vector{NamedTuple})
87
+
88
+ @test keys(c1[1]) == (:param_1, :lp)
89
+ @test keys(c2[1]) == (:param_1, :param_2, :lp)
90
+ @test keys(c3[1]) == (:a, :b, :lp)
91
+ @test keys(c4[1]) == (:param_1, :lp)
92
end
93
94
@testset "Initial parameters" begin
0 commit comments