Skip to content

Commit 64ff18a

Browse files
formatting
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent d93006b commit 64ff18a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/varinfo.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,9 @@ DynamicPPL.getspace(::DynamicPPL.Sampler{MySAlg}) = (:s,)
785785
# Sampling from `model2` should hit the `istrans(vi) == true` branches
786786
# because all the existing variables are linked.
787787
model2 = demo(2)
788-
varinfo2 = last(DynamicPPL.evaluate!!(model2, deepcopy(varinfo1), SamplingContext()))
788+
varinfo2 = last(
789+
DynamicPPL.evaluate!!(model2, deepcopy(varinfo1), SamplingContext())
790+
)
789791
for vn in [@varname(x[1]), @varname(x[2])]
790792
@test DynamicPPL.istrans(varinfo2, vn)
791793
end
@@ -804,7 +806,9 @@ DynamicPPL.getspace(::DynamicPPL.Sampler{MySAlg}) = (:s,)
804806
# Sampling from `model2` should hit the `istrans(vi) == true` branches
805807
# because all the existing variables are linked.
806808
model2 = demo_dot(2)
807-
varinfo2 = last(DynamicPPL.evaluate!!(model2, deepcopy(varinfo1), SamplingContext()))
809+
varinfo2 = last(
810+
DynamicPPL.evaluate!!(model2, deepcopy(varinfo1), SamplingContext())
811+
)
808812
for vn in [@varname(x), @varname(y[1])]
809813
@test DynamicPPL.istrans(varinfo2, vn)
810814
end

0 commit comments

Comments
 (0)