Skip to content

Commit 8587eb7

Browse files
committed
Remove duplicated test
1 parent a83f483 commit 8587eb7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/varinfo.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,11 @@ end
565565
@test getlogprior(vi) Bijectors.logpdf_with_trans(dist, x, false)
566566
end
567567

568+
### `VarInfo`
569+
# Need to run once since we can't specify that we want to _sample_
570+
# in the unconstrained space for `VarInfo` without having `vn`
571+
# present in the `varinfo`.
572+
568573
## `untyped_varinfo`
569574
vi = DynamicPPL.untyped_varinfo(model)
570575
vi = DynamicPPL.settrans!!(vi, true, vn)
@@ -575,11 +580,6 @@ end
575580
vi = DynamicPPL.settrans!!(vi, true, vn)
576581
test_linked_varinfo(model, vi)
577582

578-
## `typed_varinfo`
579-
vi = DynamicPPL.typed_varinfo(model)
580-
vi = DynamicPPL.settrans!!(vi, true, vn)
581-
test_linked_varinfo(model, vi)
582-
583583
### `SimpleVarInfo`
584584
## `SimpleVarInfo{<:NamedTuple}`
585585
vi = DynamicPPL.settrans!!(SimpleVarInfo(), true)

0 commit comments

Comments
 (0)