File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -785,7 +785,9 @@ DynamicPPL.getspace(::DynamicPPL.Sampler{MySAlg}) = (:s,)
785
785
# Sampling from `model2` should hit the `istrans(vi) == true` branches
786
786
# because all the existing variables are linked.
787
787
model2 = demo (2 )
788
- varinfo2 = last (DynamicPPL. evaluate!! (model2, deepcopy (varinfo1), SamplingContext ()))
788
+ varinfo2 = last (
789
+ DynamicPPL. evaluate!! (model2, deepcopy (varinfo1), SamplingContext ())
790
+ )
789
791
for vn in [@varname (x[1 ]), @varname (x[2 ])]
790
792
@test DynamicPPL. istrans (varinfo2, vn)
791
793
end
@@ -804,7 +806,9 @@ DynamicPPL.getspace(::DynamicPPL.Sampler{MySAlg}) = (:s,)
804
806
# Sampling from `model2` should hit the `istrans(vi) == true` branches
805
807
# because all the existing variables are linked.
806
808
model2 = demo_dot (2 )
807
- varinfo2 = last (DynamicPPL. evaluate!! (model2, deepcopy (varinfo1), SamplingContext ()))
809
+ varinfo2 = last (
810
+ DynamicPPL. evaluate!! (model2, deepcopy (varinfo1), SamplingContext ())
811
+ )
808
812
for vn in [@varname (x), @varname (y[1 ])]
809
813
@test DynamicPPL. istrans (varinfo2, vn)
810
814
end
You can’t perform that action at this time.
0 commit comments