Skip to content

Commit

Permalink
Resolve JET.jl issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanaelbosch committed Aug 30, 2024
1 parent 7ff97e7 commit a5030a2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/caches.jl
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,9 @@ function OrdinaryDiffEq.alg_cache(
)
end

get_uf(f, t, p, ::Val{true}) = OrdinaryDiffEq.UJacobianWrapper(f, t, p)
get_uf(f, t, p, ::Val{false}) = OrdinaryDiffEq.UDerivativeWrapper(f, t, p)
get_uf(f, t, p, ::Val{true}) =
OrdinaryDiffEq.OrdinaryDiffEqDifferentiation.UJacobianWrapper(f, t, p)
get_uf(f, t, p, ::Val{false}) =

Check warning on line 256 in src/caches.jl

View check run for this annotation

Codecov / codecov/patch

src/caches.jl#L256

Added line #L256 was not covered by tests
OrdinaryDiffEq.OrdinaryDiffEqDifferentiation.UDerivativeWrapper(f, t, p)

OrdinaryDiffEq.get_fsalfirstlast(cache::EKCache, rate_prototype) = nothing, nothing

0 comments on commit a5030a2

Please sign in to comment.