Skip to content

Commit 775284d

Browse files
committed
Disable a test that only works for VectorVarInfo
1 parent a203ab7 commit 775284d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/varinfo.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ DynamicPPL.getspace(::DynamicPPL.Sampler{MySAlg}) = (:s,)
111111
@test vi[vn] == 3 * r
112112
@test vi[SampleFromPrior()][1] == 3 * r
113113

114-
# TODO(mhauru) Implement these functions for SimpleVarInfo too.
115-
if vi isa VarInfo
114+
# TODO(mhauru) Implement these functions for other VarInfo types too.
115+
if vi isa VectorVarInfo
116116
delete!(vi, vn)
117117
@test isempty(vi)
118118
vi = push!!(vi, vn, r, dist, gid)

0 commit comments

Comments
 (0)