Skip to content

Commit 70a341a

Browse files
committed
Remove redundant test
1 parent 5db6950 commit 70a341a

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

test/dynamicppl/varinfo.jl

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -125,27 +125,6 @@ using Turing
125125
@test DynamicPPL.get_num_produce(vi) == 3
126126
end
127127

128-
@testset "replay" begin
129-
# Generate synthesised data
130-
xs = rand(Normal(0.5, 1), 100)
131-
132-
# Define model
133-
@model function priorsinarray(xs, ::Type{T}=Float64) where {T}
134-
begin
135-
priors = Vector{T}(undef, 2)
136-
priors[1] ~ InverseGamma(2, 3)
137-
priors[2] ~ Normal(0, sqrt(priors[1]))
138-
for i in 1:length(xs)
139-
xs[i] ~ Normal(priors[2], sqrt(priors[1]))
140-
end
141-
priors
142-
end
143-
end
144-
145-
# Sampling
146-
chain = sample(priorsinarray(xs), HMC(0.01, 10), 10)
147-
end
148-
149128
@testset "varname" begin
150129
@model function mat_name_test()
151130
p = Array{Any}(undef, 2, 2)

0 commit comments

Comments
 (0)