Skip to content

Commit df2c975

Browse files
github-actions[bot]yebai
andcommitted
CompatHelper: bump compat for Turing to 0.24 for package turing, (keep existing compat) (#450)
This pull request changes the compat entry for the `Turing` package from `0.21` to `0.21, 0.24` for package turing. This keeps the compat entries for earlier versions. Note: I have not tested your package with this new compat entry. It is your responsibility to make sure that your package tests pass before you merge this pull request. Co-authored-by: Hong Ge <[email protected]>
1 parent c8ce73f commit df2c975

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/turing/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"
66

77
[compat]
88
DynamicPPL = "0.20, 0.21"
9-
Turing = "0.21"
9+
Turing = "0.21, 0.22, 0.23, 0.24"
1010
julia = "1.6"

test/turing/compiler.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
x = Float64[1 2]
7171

7272
@model function gauss(x)
73-
priors = TArray{Float64}(2)
73+
priors = Array{Float64}(undef, 2)
7474
priors[1] ~ InverseGamma(2, 3) # s
7575
priors[2] ~ Normal(0, sqrt(priors[1])) # m
7676
for i in 1:length(x)

0 commit comments

Comments
 (0)