Skip to content

Commit 7b4c5fa

Browse files
committed
Remove duplicated test
1 parent a11b75e commit 7b4c5fa

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
@@ -523,6 +523,11 @@ end
523523
@test getlogprior(vi) Bijectors.logpdf_with_trans(dist, x, false)
524524
end
525525

526+
### `VarInfo`
527+
# Need to run once since we can't specify that we want to _sample_
528+
# in the unconstrained space for `VarInfo` without having `vn`
529+
# present in the `varinfo`.
530+
526531
## `untyped_varinfo`
527532
vi = DynamicPPL.untyped_varinfo(model)
528533
vi = DynamicPPL.settrans!!(vi, true, vn)
@@ -533,11 +538,6 @@ end
533538
vi = DynamicPPL.settrans!!(vi, true, vn)
534539
test_linked_varinfo(model, vi)
535540

536-
## `typed_varinfo`
537-
vi = DynamicPPL.typed_varinfo(model)
538-
vi = DynamicPPL.settrans!!(vi, true, vn)
539-
test_linked_varinfo(model, vi)
540-
541541
### `SimpleVarInfo`
542542
## `SimpleVarInfo{<:NamedTuple}`
543543
vi = DynamicPPL.settrans!!(SimpleVarInfo(), true)

0 commit comments

Comments
 (0)