Skip to content

Commit 92bb94b

Browse files
Merge pull request #1172 from SciML/vec
Another vec for Enzyme
2 parents bc1620d + 8ca86b0 commit 92bb94b

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
@@ -681,7 +681,7 @@ function _vecjacobian!(dλ, y, λ, p, t, S::TS, isautojacvec::EnzymeVJP, dgrad,
681681
end
682682

683683
tmp1 .= 0 # should be removed for dλ
684-
ytmp .= y
684+
vec(ytmp) .= vec(y)
685685

686686
#if dgrad !== nothing
687687
# tmp2 = dgrad

0 commit comments

Comments
 (0)