Skip to content

Commit 8b36969

Browse files
Use FunctionWrappersWrapper
1 parent e96a466 commit 8b36969

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/norecompile.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ end
2323

2424
# Default dispatch assumes no ForwardDiff, gets added in the new dispatch
2525
function wrapfun_iip(ff, inputs)
26-
FunctionWrappersWrappers.FunctionWrappers.FunctionWrapper{Nothing, typeof(inputs)}(Void(ff))
26+
FunctionWrappersWrappers.FunctionWrappersWrapper(Void(ff), (typeof(inputs),), (Nothing,))
2727
end
2828

2929
function wrapfun_oop(ff, inputs)
30-
FunctionWrappersWrappers.FunctionWrappers.FunctionWrapper{typeof(inputs[1]), typeof(inputs)}(ff)
30+
FunctionWrappersWrappers.FunctionWrappersWrapper(ff, (typeof(inputs),), (typeof(inputs[1]),))
3131
end

0 commit comments

Comments
 (0)