Skip to content

Commit af7c6fc

Browse files
committed
Fix bad merge conflict resolution
1 parent f00879b commit af7c6fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/varinfo.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,8 +603,9 @@ end
603603
@test getlogjoint(vi) Bijectors.logpdf_with_trans(dist, x, true)
604604

605605
## `SimpleVarInfo{<:Dict}`
606-
vi = DynamicPPL.settrans!!(SimpleVarInfo(Dict()), true)
607606
vi = DynamicPPL.settrans!!(SimpleVarInfo(Dict{VarName,Any}()), true)
607+
# Sample in unconstrained space.
608+
vi = last(DynamicPPL.evaluate_and_sample!!(model, vi))
608609
f = DynamicPPL.from_linked_internal_transform(vi, vn, dist)
609610
x = f(DynamicPPL.getindex_internal(vi, vn))
610611
@test getlogjoint(vi) Bijectors.logpdf_with_trans(dist, x, true)

0 commit comments

Comments
 (0)