Skip to content

Commit 438aa87

Browse files
Update derivative_wrappers.jl
1 parent 6154316 commit 438aa87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/derivative_wrappers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ function _vecjacobian!(dλ, y, λ, p, t, S::TS, isautojacvec::EnzymeVJP, dgrad,
724724
# Correctness over speed
725725
# TODO: Get a fix for `remake_zero!` to allow reusing zero'd memory
726726
# https://github.com/EnzymeAD/Enzyme.jl/issues/2400
727-
_tmp6 = Enzyme.make_zero(f)
727+
_tmp6 = Enzyme.make_zero(SciMLBase.Void(f))
728728
else
729729
Enzyme.remake_zero!(_tmp6)
730730
end

0 commit comments

Comments
 (0)