SciML / FunctionWrappersWrappers.jl

MIT License
10 stars 2 forks source link

Add a store of the original function #3

Closed ChrisRackauckas closed 1 year ago

ChrisRackauckas commented 1 year ago

Otherwise it's impossible to ever unwrap it, which can be required in order to allow more types.

It would nice to also have a fallback where if it's not found in the arg list to just call original, and have a type parameter true/false turn that on/off.

ChrisRackauckas commented 1 year ago

Nevermind, found it.

chriselrod commented 1 year ago

Nevermind, found it.

Yeah, the function wrappers themselves should hold it.