Skip to content

Commit dfc4cca

Browse files
Merge pull request #157 from SciML/ap/tracker_patch
fix: missing Tracker.data
2 parents 0614b6a + e799b10 commit dfc4cca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: lib/SimpleNonlinearSolve/Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SimpleNonlinearSolve"
22
uuid = "727e6d20-b764-4bd8-a329-72de5adea6c7"
33
authors = ["SciML"]
4-
version = "1.12.0"
4+
version = "1.12.1"
55

66
[deps]
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"

Diff for: lib/SimpleNonlinearSolve/ext/SimpleNonlinearSolveTrackerExt.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ for pType in (ImmutableNonlinearProblem, NonlinearLeastSquaresProblem)
3737
prob, sensealg, u0, p, TrackerOriginator(), alg, args...; kwargs...)
3838

3939
function ∇__internal_solve_up(Δ)
40-
∂prob, ∂sensealg, ∂u0, ∂p, ∂originator, ∂args... = ∇internal(Δ)
40+
∂prob, ∂sensealg, ∂u0, ∂p, ∂originator, ∂args... = ∇internal(Tracker.data(Δ))
4141
return (∂prob, ∂sensealg, ∂u0, nothing, ∂p, nothing, nothing, ∂args...)
4242
end
4343

0 commit comments

Comments
 (0)