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 f00879b commit af7c6fcCopy full SHA for af7c6fc
test/varinfo.jl
@@ -603,8 +603,9 @@ end
603
@test getlogjoint(vi) ≈ Bijectors.logpdf_with_trans(dist, x, true)
604
605
## `SimpleVarInfo{<:Dict}`
606
- vi = DynamicPPL.settrans!!(SimpleVarInfo(Dict()), true)
607
vi = DynamicPPL.settrans!!(SimpleVarInfo(Dict{VarName,Any}()), true)
+ # Sample in unconstrained space.
608
+ vi = last(DynamicPPL.evaluate_and_sample!!(model, vi))
609
f = DynamicPPL.from_linked_internal_transform(vi, vn, dist)
610
x = f(DynamicPPL.getindex_internal(vi, vn))
611
0 commit comments