File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 78
78
@test vn2 == vn1
79
79
@test hash (vn2) == hash (vn1)
80
80
81
- function test_base!! (vi_original)
81
+ function test_base (vi_original)
82
82
vi = empty!! (deepcopy (vi_original))
83
83
@test getlogp (vi) == 0
84
84
@test isempty (vi[:])
@@ -116,11 +116,11 @@ end
116
116
end
117
117
118
118
vi = VarInfo ()
119
- test_base!! (vi)
120
- test_base!! (DynamicPPL. typed_varinfo (vi))
121
- test_base!! (SimpleVarInfo ())
122
- test_base!! (SimpleVarInfo (Dict ()))
123
- test_base!! (SimpleVarInfo (DynamicPPL. VarNamedVector ()))
119
+ test_base (vi)
120
+ test_base (DynamicPPL. typed_varinfo (vi))
121
+ test_base (SimpleVarInfo ())
122
+ test_base (SimpleVarInfo (Dict ()))
123
+ test_base (SimpleVarInfo (DynamicPPL. VarNamedVector ()))
124
124
end
125
125
126
126
@testset " get/set/acc/resetlogp" begin
You can’t perform that action at this time.
0 commit comments