Skip to content

Commit

Permalink
Add missing param function
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed May 15, 2024
1 parent 3fe2def commit 541e7fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SciMLBase"
uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
authors = ["Chris Rackauckas <[email protected]> and contributors"]
version = "2.36.2"
version = "2.37.0"

[deps]
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
Expand Down
3 changes: 3 additions & 0 deletions src/function_wrappers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ function (ff::ParamJacobianWrapper{true})(p)
return du1
end
(ff::ParamJacobianWrapper{false})(p) = ff.f(ff.u, p, ff.t)
function (ff::ParamJacobianWrapper{false})(du1, p)
du1 .= ff.f(ff.u, p, ff.t)
end

mutable struct JacobianWrapper{iip, fType, pType} <: AbstractSciMLFunction{iip}
f::fType
Expand Down

0 comments on commit 541e7fd

Please sign in to comment.