Skip to content

Commit

Permalink
fix: missing Tracker.data
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Sep 16, 2024
1 parent 3ef0e22 commit 9e0e215
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SimpleNonlinearSolve"
uuid = "727e6d20-b764-4bd8-a329-72de5adea6c7"
authors = ["SciML"]
version = "1.12.0"
version = "1.12.1"

[deps]
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
Expand Down
2 changes: 1 addition & 1 deletion ext/SimpleNonlinearSolveTrackerExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ for pType in (ImmutableNonlinearProblem, NonlinearLeastSquaresProblem)
prob, sensealg, u0, p, TrackerOriginator(), alg, args...; kwargs...)

function ∇__internal_solve_up(Δ)
∂prob, ∂sensealg, ∂u0, ∂p, ∂originator, ∂args... = ∇internal(Δ)
∂prob, ∂sensealg, ∂u0, ∂p, ∂originator, ∂args... = ∇internal(Tracker.data(Δ))
return (∂prob, ∂sensealg, ∂u0, nothing, ∂p, nothing, nothing, ∂args...)
end

Expand Down

0 comments on commit 9e0e215

Please sign in to comment.