Skip to content

Commit 8ca86b0

Browse files
Another vec for Enzyme
1 parent bc1620d commit 8ca86b0

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)