Skip to content

Commit

Permalink
Fix missing model
Browse files Browse the repository at this point in the history
  • Loading branch information
penelopeysm committed Dec 4, 2024
1 parent 1da277e commit 126ae32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/varinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -958,8 +958,6 @@ end
end

@testset "orders" begin
@model empty_model() = x = 1

csym = gensym() # unique per model
vn_z1 = @varname z[1]
vn_z2 = @varname z[2]
Expand Down Expand Up @@ -1048,7 +1046,9 @@ end
end

@testset "varinfo" begin
@model empty_model() = x = 1
dists = [Normal(0, 1), MvNormal(zeros(2), I), Wishart(7, [1 0.5; 0.5 1])]

function test_varinfo!(vi)
spl2 = DynamicPPL.Sampler(MyAlg{(:w, :u)}(), empty_model())
vn_w = @varname w
Expand Down

0 comments on commit 126ae32

Please sign in to comment.