From 0739ce9495aececa5542cf4dedd73f9ce217c55d Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Thu, 31 Oct 2024 07:47:39 -0100 Subject: [PATCH 1/2] Version bumps --- Project.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Project.toml b/Project.toml index 6bd7efc..31573c4 100644 --- a/Project.toml +++ b/Project.toml @@ -36,26 +36,26 @@ DiffEqBase = "6.36" DiffResults = "1.0" Distances = "0.10" Distributions = "0.25" -DocStringExtensions = "0.8, 0.9" -DynamicHMC = "2.1, 3" +DocStringExtensions = "0.9" +DynamicHMC = "3" ForwardDiff = "0.10" LabelledArrays = "1.0" LogDensityProblemsAD = "1" MacroTools = "0.5" -Missings = "0.4, 1.0" -ModelingToolkit = "8" +Missings = "1.0" +ModelingToolkit = "9" Optim = "1.0" PDMats = "0.11" Parameters = "0.12" -RecursiveArrayTools = "1,2, 3" +RecursiveArrayTools = "3" Reexport = "1.0" Requires = "1.0" StanSample = "6, 7" StructArrays = "0.6" TransformVariables = "0.8" TransformedLogDensities = "1" -Turing = "0.25, 0.26, 0.27, 0.28, 0.30, 0.35" -julia = "1.7" +Turing = "0.35" +julia = "1.10" [extras] OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed" From 8945521d1411fdaa2cfc99eccf2fec290d324146 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Thu, 31 Oct 2024 08:16:01 -0100 Subject: [PATCH 2/2] Update stan_inference.jl --- src/stan_inference.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stan_inference.jl b/src/stan_inference.jl index 1f9cf56..4595e3a 100644 --- a/src/stan_inference.jl +++ b/src/stan_inference.jl @@ -199,7 +199,7 @@ function stan_inference( if isnothing(diffeq_string) diffeq_string = ModelingToolkit.build_function(ModelingToolkit.equations(sys), - ModelingToolkit.states(sys), + ModelingToolkit.unknowns(sys), ModelingToolkit.parameters(sys), ModelingToolkit.get_iv(sys); expression = Val{true}, @@ -250,4 +250,4 @@ function stan_inference( else rc.err end -end \ No newline at end of file +end