Skip to content

Commit

Permalink
Update Inference.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
yebai authored Jan 26, 2022
1 parent 37ff1bc commit 125b11c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/inference/Inference.jl
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@
)
end
@testset "no return" begin
Random.seed!(5)
@model function noreturn(x)
s ~ InverseGamma(2, 3)
m ~ Normal(0, sqrt(s))
Expand All @@ -280,6 +281,7 @@
check_numerical(chain, [:s, :m], [49 / 24, 7 / 6])
end
@testset "observe" begin
Random.seed!(5)
@model function test()
z ~ Normal(0, 1)
x ~ Bernoulli(1)
Expand Down Expand Up @@ -495,4 +497,4 @@
vdemo3kw(; T) = vdemo3(T)
sample(vdemo3kw(; T=Vector{Float64}), alg, 250)
end
end
end

2 comments on commit 125b11c

@torfjelde
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/53287

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.19.5 -m "<description of version>" 125b11cdeb4bf8511f61c193b2db52621ca20bb6
git push origin v0.19.5

Please sign in to comment.