Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdfish committed Oct 25, 2024
1 parent 0f8f1c5 commit fc278d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SequentialSamplingModels"
uuid = "0e71a2a6-2b30-4447-8742-d083a85e82d1"
authors = ["itsdfish"]
version = "0.11.11"
version = "0.11.12"

[deps]
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Expand Down Expand Up @@ -29,7 +29,7 @@ TuringExt = "Turing"

[compat]
Distributions = "v0.24.6, 0.25"
DynamicPPL = "0.22.0,0.23.0,0.24.0,0.25,0.26.0,0.27,0.28.0"
DynamicPPL = "0.22.0,0.23.0,0.24.0,0.25,0.26.0,0.27,0.28.0,0.29.0"
FunctionZeros = "0.2.0,0.3.0, 1"
HCubature = "1"
Interpolations = "0.14.0,0.15.0"
Expand All @@ -44,7 +44,7 @@ SpecialFunctions = "1,2"
Statistics = "1"
StatsAPI = "1.0.0"
StatsBase = "0.33.0,0.34.0"
Turing = "0.29.0,0.30.0,0.31.0,0.32, 0.33, 0.34.0"
Turing = "0.29.0,0.30.0,0.31.0,0.32,0.33,0.34.0,0.35.0"
julia = "1"

[extras]
Expand All @@ -58,4 +58,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"

[targets]
test = ["Interpolations", "KernelDensity", "Plots", "QuadGK", "SafeTestsets", "StatsBase", "Statistics", "Test", "Turing"]
test = ["Interpolations", "KernelDensity", "QuadGK", "SafeTestsets", "StatsBase", "Statistics", "Test", "Turing"]
3 changes: 3 additions & 0 deletions ext/TuringExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module TuringExt

import DynamicPPL: reconstruct
import DynamicPPL: vectorize
import DynamicPPL: tovec
using SequentialSamplingModels
import SequentialSamplingModels: predict_distribution
using Turing: @model
Expand Down Expand Up @@ -32,4 +33,6 @@ end

vectorize(d::SSM2D, r::NamedTuple) = [r...]
reconstruct(d::SSM2D, v::NamedTuple) = deepcopy(v)
tovec(x::@NamedTuple{choice::C, rt::R}) where {C <: Integer, R <: AbstractFloat} =
[x.choice, x.rt]
end

0 comments on commit fc278d2

Please sign in to comment.