Skip to content

Commit 9611747

Browse files
committed
Fixes again
1 parent effbfe3 commit 9611747

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/execution.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function (po::JVP!)(res::AbstractVector, v_wrongtype::AbstractVector)
2424
copyto!(v_buffer, v_wrongtype)
2525
v = v_buffer
2626
end
27-
pushforward!(f, (res,), prep, backend, input, (v_buffer,), contexts...)
27+
pushforward!(f, (res,), prep, backend, input, (v,), contexts...)
2828
return res
2929
end
3030

@@ -36,7 +36,7 @@ function (po::VJP!)(res::AbstractVector, v_wrongtype::AbstractVector)
3636
copyto!(v_buffer, v_wrongtype)
3737
v = v_buffer
3838
end
39-
pullback!(f, (res,), prep, backend, input, (v_buffer,), contexts...)
39+
pullback!(f, (res,), prep, backend, input, (v,), contexts...)
4040
return res
4141
end
4242

0 commit comments

Comments
 (0)