Skip to content

Commit dcb949e

Browse files
bump Turing v0.39 (#38)
* bump Turing * fix call to `VarInfo` * increment patch version * run formatting Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 3f09d27 commit dcb949e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "SliceSampling"
22
uuid = "43f4d3e8-9711-4a8c-bd1b-03ac73a255cf"
3-
version = "0.7.5"
3+
version = "0.7.6"
44

55
[deps]
66
AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001"
@@ -21,7 +21,7 @@ Distributions = "0.25"
2121
LinearAlgebra = "1"
2222
LogDensityProblems = "2"
2323
Random = "1"
24-
Turing = "0.37, 0.38"
24+
Turing = "0.37, 0.38, 0.39"
2525
julia = "1.10"
2626

2727
[extras]

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ Random = "1"
2828
SliceSampling = "0.7.1"
2929
StableRNGs = "1"
3030
Statistics = "1"
31-
Turing = "0.37, 0.38"
31+
Turing = "0.37, 0.38, 0.39"
3232
julia = "1.10"

ext/SliceSamplingTuringExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ end
4343

4444
function SliceSampling.initial_sample(rng::Random.AbstractRNG, ℓ::Turing.LogDensityFunction)
4545
model =.model
46-
vi = Turing.VarInfo(rng, model, Turing.SampleFromUniform())
46+
vi = Turing.DynamicPPL.VarInfo(rng, model, Turing.SampleFromUniform())
4747
vi_spl = last(Turing.DynamicPPL.evaluate!!(model, rng, vi, Turing.SampleFromUniform()))
48-
θ = vi_spl[:]
48+
θ = vi_spl[:]
4949

5050
init_attempt_count = 1
5151
while !all(isfinite.(θ))

test/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ MCMCTesting = "0.3"
1818
Random = "1"
1919
StableRNGs = "1"
2020
Test = "1"
21-
Turing = "0.37, 0.38"
21+
Turing = "0.37, 0.38, 0.39"
2222
julia = "1.10"

0 commit comments

Comments
 (0)