@@ -6,13 +6,13 @@ struct PolyesterForwardDiffTwoArgPushforwardPrep{SIG,P} <: DI.PushforwardPrep{SI
66end
77
88function DI. prepare_pushforward (
9+ strict:: Val ,
910 f!,
1011 y,
1112 backend:: AutoPolyesterForwardDiff ,
1213 x,
1314 tx:: NTuple ,
1415 contexts:: Vararg{DI.Context,C} ;
15- strict:: Val ,
1616) where {C}
1717 _sig = DI. signature (f!, y, backend, x, tx, contexts... ; strict)
1818 single_threaded_prep = DI. prepare_pushforward (
@@ -91,11 +91,11 @@ struct PolyesterForwardDiffTwoArgDerivativePrep{SIG,P} <: DI.DerivativePrep{SIG}
9191end
9292
9393function DI. prepare_derivative (
94- f!, y, backend:: AutoPolyesterForwardDiff , x, contexts:: Vararg{DI.Context,C} ; strict :: Val
94+ strict :: Val , f!, y, backend:: AutoPolyesterForwardDiff , x, contexts:: Vararg{DI.Context,C}
9595) where {C}
9696 _sig = DI. signature (f!, y, backend, x, contexts... ; strict)
9797 single_threaded_prep = DI. prepare_derivative (
98- f!, y, single_threaded (backend), x, contexts...
98+ strict, f!, y, single_threaded (backend), x, contexts...
9999 )
100100 return PolyesterForwardDiffTwoArgDerivativePrep (_sig, single_threaded_prep)
101101end
@@ -167,12 +167,12 @@ struct PolyesterForwardDiffTwoArgJacobianPrep{SIG,chunksize,P} <: DI.JacobianPre
167167end
168168
169169function DI. prepare_jacobian (
170+ strict:: Val ,
170171 f!,
171172 y,
172173 backend:: AutoPolyesterForwardDiff{chunksize} ,
173174 x,
174175 contexts:: Vararg{DI.Context,C} ;
175- strict:: Val ,
176176) where {chunksize,C}
177177 _sig = DI. signature (f!, y, backend, x, contexts... ; strict)
178178 if isnothing (chunksize)
@@ -181,7 +181,7 @@ function DI.prepare_jacobian(
181181 chunk = Chunk {chunksize} ()
182182 end
183183 single_threaded_prep = DI. prepare_jacobian (
184- f!, y, single_threaded (backend), x, contexts...
184+ strict, f!, y, single_threaded (backend), x, contexts...
185185 )
186186 return PolyesterForwardDiffTwoArgJacobianPrep (_sig, chunk, single_threaded_prep)
187187end
0 commit comments