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 bc0a366 commit 7526531Copy full SHA for 7526531
test/essential/container.jl
@@ -28,14 +28,11 @@ using Turing
28
@test trace.model.ctask.taped_globals.other === trace
29
30
res = AdvancedPS.advance!(trace, false)
31
- @test DynamicPPL.get_num_produce(trace.model.f.varinfo) == 1
32
@test res ≈ -log(2)
33
34
# Catch broken copy, espetially for RNG / VarInfo
35
newtrace = AdvancedPS.fork(trace)
36
res2 = AdvancedPS.advance!(trace)
37
- @test DynamicPPL.get_num_produce(trace.model.f.varinfo) == 2
38
- @test DynamicPPL.get_num_produce(newtrace.model.f.varinfo) == 1
39
end
40
41
@testset "fork" begin
0 commit comments