Skip to content

Commit 23cafe0

Browse files
committed
Remove duplicated test
1 parent ec2632b commit 23cafe0

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
@@ -502,6 +502,11 @@ end
502502
@test getlogprior(vi) Bijectors.logpdf_with_trans(dist, x, false)
503503
end
504504

505+
### `VarInfo`
506+
# Need to run once since we can't specify that we want to _sample_
507+
# in the unconstrained space for `VarInfo` without having `vn`
508+
# present in the `varinfo`.
509+
505510
## `untyped_varinfo`
506511
vi = DynamicPPL.untyped_varinfo(model)
507512
vi = DynamicPPL.settrans!!(vi, true, vn)
@@ -512,11 +517,6 @@ end
512517
vi = DynamicPPL.settrans!!(vi, true, vn)
513518
test_linked_varinfo(model, vi)
514519

515-
## `typed_varinfo`
516-
vi = DynamicPPL.typed_varinfo(model)
517-
vi = DynamicPPL.settrans!!(vi, true, vn)
518-
test_linked_varinfo(model, vi)
519-
520520
### `SimpleVarInfo`
521521
## `SimpleVarInfo{<:NamedTuple}`
522522
vi = DynamicPPL.settrans!!(SimpleVarInfo(), true)

0 commit comments

Comments
 (0)