Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tests for Enzyme frontend for nonlinear problem #1066

Merged
merged 21 commits into from
Jul 21, 2024
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update src/derivative_wrappers.jl
  • Loading branch information
ChrisRackauckas authored Jul 21, 2024
commit e705f2a89cacdde37fc64c6975601a51b45567bc
2 changes: 1 addition & 1 deletion src/derivative_wrappers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ function _vecjacobian!(dλ, y, λ, p, t, S::TS, isautojacvec::ReverseDiffVJP, dg
end

u0 = state_values(prob)
if prob isa Union{SteadyStateProblem, ImmutableNonlinearProblem} ||
if prob isa AbstractNonlinearProblem ||
(eltype(λ) <: eltype(u0) && t isa eltype(u0) &&
compile_tape(sensealg.autojacvec))
tape = S.diffcache.paramjac_config
Expand Down
Loading