From f4eb1af558c18284e4e048ebe5e307de0fd91297 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..52819287b 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))