Skip to content

Commit

Permalink
fix make_zero!
Browse files Browse the repository at this point in the history
  • Loading branch information
m-bossart committed Jun 9, 2024
1 parent 27381c0 commit 549bdfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/DiffEqBaseEnzymeExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function Enzyme.EnzymeRules.reverse(config::Enzyme.EnzymeRules.ConfigWidth{1},
end
ptr.dval .+= darg
end
Enzyme.make_zero!(dres)
Enzyme.make_zero!(dres.u)

Check warning on line 52 in ext/DiffEqBaseEnzymeExt.jl

View check run for this annotation

Codecov / codecov/patch

ext/DiffEqBaseEnzymeExt.jl#L52

Added line #L52 was not covered by tests
return ntuple(_ -> nothing, Val(length(args) + 4))
end

Expand Down

0 comments on commit 549bdfc

Please sign in to comment.