We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 876bc5f commit f4eb1afCopy full SHA for f4eb1af
src/norecompile.jl
@@ -64,7 +64,7 @@ function wrapfun_iip(ff,
64
Tuple{dualT1, T2, T3, dualT4}, # tgrad
65
)
66
67
- iip_returnlists = ntuple(x -> Nothing, 4)
+ iip_returnlists = ntuple(x -> Nothing, length(iip_arglists))
68
69
fwt = map(iip_arglists, iip_returnlists) do A, R
70
FunctionWrappersWrappers.FunctionWrappers.FunctionWrapper{R, A}(Void(ff))
0 commit comments