Skip to content

Commit

Permalink
Merge branch 'dg/structures' of github.com:SciML/SciMLSensitivity.jl …
Browse files Browse the repository at this point in the history
…into dg/structures
  • Loading branch information
DhairyaLGandhi committed Jun 24, 2024
2 parents 6adc3f1 + 0452e91 commit 1b549c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/derivative_wrappers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ function _vecjacobian!(dλ, y, λ, p, t, S::TS, isautojacvec::EnzymeVJP, dgrad,
#else
dup = if !(tmp2 isa DiffEqBase.NullParameters)
# tmp2 .= 0
tmp2 = Enzyme.make_zero(tmp2)
Enzyme.make_zero!(tmp2)
Enzyme.Duplicated(p, repack(tmp2))
else
Enzyme.Const(p)
Expand Down

0 comments on commit 1b549c7

Please sign in to comment.