@@ -56,7 +56,7 @@ function DI.pushforward!(
5656) where {C}
5757 for b in eachindex (tx, ty)
5858 dx, dy = tx[b], ty[b]
59- prep. jvp_exe! (vec (dy), myvec (x), myvec (dx), map (myvec_unwrap, contexts)... )
59+ prep. jvp_exe! (myvec (dy), myvec (x), myvec (dx), map (myvec_unwrap, contexts)... )
6060 end
6161 return ty
6262end
@@ -143,7 +143,7 @@ function DI.pullback!(
143143) where {C}
144144 for b in eachindex (tx, ty)
145145 dx, dy = tx[b], ty[b]
146- prep. vjp_exe! (vec (dx), myvec (x), myvec (dy), map (myvec_unwrap, contexts)... )
146+ prep. vjp_exe! (myvec (dx), myvec (x), myvec (dy), map (myvec_unwrap, contexts)... )
147147 end
148148 return tx
149149end
@@ -221,7 +221,7 @@ function DI.derivative!(
221221 x,
222222 contexts:: Vararg{DI.Context,C} ,
223223) where {C}
224- prep. der_exe! (vec (der), myvec (x), map (myvec_unwrap, contexts)... )
224+ prep. der_exe! (myvec (der), myvec (x), map (myvec_unwrap, contexts)... )
225225 return der
226226end
227227
@@ -448,7 +448,7 @@ function DI.second_derivative!(
448448 x,
449449 contexts:: Vararg{DI.Context,C} ,
450450) where {C}
451- prep. der2_exe! (vec (der2), myvec (x), map (myvec_unwrap, contexts)... )
451+ prep. der2_exe! (myvec (der2), myvec (x), map (myvec_unwrap, contexts)... )
452452 return der2
453453end
454454
@@ -533,7 +533,7 @@ function DI.hvp!(
533533) where {C}
534534 for b in eachindex (tx, tg)
535535 dx, dg = tx[b], tg[b]
536- prep. hvp_exe! (dg , myvec (x), myvec (dx), map (myvec_unwrap, contexts)... )
536+ prep. hvp_exe! (myvec (dg) , myvec (x), myvec (dx), map (myvec_unwrap, contexts)... )
537537 end
538538 return tg
539539end
0 commit comments