Skip to content

Commit

Permalink
chore: rm mentions of SDESolution in ZygoteExt
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaLGandhi committed May 2, 2024
1 parent 50c2523 commit 3e64e25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/SciMLBaseZygoteExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ end
@adjoint function SDEProblem{uType, tType, isinplace, P, NP, F, G, K, ND}(u,
args...) where
{uType, tType, isinplace, P, NP, F, G, K, ND}
function SDESolutionAdjoint(ȳ)
function SDEProblemAdjoint(ȳ)

Check warning on line 138 in ext/SciMLBaseZygoteExt.jl

View check run for this annotation

Codecov / codecov/patch

ext/SciMLBaseZygoteExt.jl#L138

Added line #L138 was not covered by tests
(ȳ, ntuple(_ -> nothing, length(args))...)
end

SDESolution{uType, tType, isinplace, P, NP, F, G, K, ND}(u, args...), SDESolutionAdjoint
SDEProblem{uType, tType, isinplace, P, NP, F, G, K, ND}(u, args...), SDEProblemAdjoint

Check warning on line 142 in ext/SciMLBaseZygoteExt.jl

View check run for this annotation

Codecov / codecov/patch

ext/SciMLBaseZygoteExt.jl#L142

Added line #L142 was not covered by tests
end

@adjoint function NonlinearSolution{T, N, uType, R, P, A, O, uType2}(u,
Expand Down

0 comments on commit 3e64e25

Please sign in to comment.