Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ StanSample = "6, 7"
StructArrays = "0.7"
TransformVariables = "0.8"
TransformedLogDensities = "1"
Turing = "0.38, 0.39"
Turing = "0.38, 0.39, 0.40"
julia = "1.10"

[extras]
Expand Down
2 changes: 1 addition & 1 deletion src/turing_inference.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function turing_inference(
prob::Union{DiffEqBase.DEProblem, DiffEqBase.AbstractNonlinearProblem},
prob::SciMLBase.AbstractSciMLProblem,
Comment on lines 1 to +2

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Import/add SciMLBase for new type annotation

The new annotation SciMLBase.AbstractSciMLProblem relies on the SciMLBase module being in scope, but this package neither imports SciMLBase nor lists it as a dependency. In a clean environment, SciMLBase will be undefined in DiffEqBayes, so loading the module or parsing this method triggers UndefVarError: SciMLBase not defined. To avoid a load-time failure, add SciMLBase to [deps] and using SciMLBase (or switch to a type that is already in scope).

Useful? React with 👍 / 👎.

alg,
t,
data,
Expand Down
Loading