From 479045e2b86b6ec30aaa0b12e2982a08b21dc263 Mon Sep 17 00:00:00 2001 From: oscarddssmith Date: Mon, 6 Nov 2023 16:05:46 -0500 Subject: [PATCH] typo --- src/norecompile.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/norecompile.jl b/src/norecompile.jl index 1f0406050..fa6992cc8 100644 --- a/src/norecompile.jl +++ b/src/norecompile.jl @@ -64,7 +64,7 @@ function wrapfun_iip(ff, Tuple{dualT1, T2, T3, dualT4}, # tgrad ) - iip_returnlists = ntuple(x -> Nothing, 4) + iip_returnlists = ntuple(x -> Nothing, length(iip_arglists) fwt = map(iip_arglists, iip_returnlists) do A, R FunctionWrappersWrappers.FunctionWrappers.FunctionWrapper{R, A}(Void(ff))