diff --git a/test/turing/Project.toml b/test/turing/Project.toml index 26d34fb3d..5bda1e2dd 100644 --- a/test/turing/Project.toml +++ b/test/turing/Project.toml @@ -6,5 +6,5 @@ Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0" [compat] DynamicPPL = "0.20, 0.21" -Turing = "0.21" +Turing = "0.21, 0.22, 0.23, 0.24" julia = "1.6" diff --git a/test/turing/compiler.jl b/test/turing/compiler.jl index 0b2b5362d..4a864a84f 100644 --- a/test/turing/compiler.jl +++ b/test/turing/compiler.jl @@ -70,7 +70,7 @@ x = Float64[1 2] @model function gauss(x) - priors = TArray{Float64}(2) + priors = Array{Float64}(undef, 2) priors[1] ~ InverseGamma(2, 3) # s priors[2] ~ Normal(0, sqrt(priors[1])) # m for i in 1:length(x)