Skip to content

Commit 398bd0c

Browse files
committed
Fix Fix Tests
1 parent 8420fbc commit 398bd0c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/turing.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@
3939
chain_logp_check = sample(
4040
logp_check(), externalsampler(sampler), 100; progress=false
4141
)
42-
@test isapprox(logpdf.(Normal(), chain_logp_check[:x]), chain_logp_check[:lp])
42+
@test isapprox(
43+
logpdf.(Normal(), chain_logp_check[:a]) .+
44+
logpdf.(Normal(), chain_logp_check[:b]),
45+
chain_logp_check[:lp],
46+
)
4347
end
4448

4549
@testset "gibbs($sampler)" for sampler in [

0 commit comments

Comments
 (0)