Function Pointer Inside a Jitclass

hi @ArthurRocha , I haven’t tried it but it might be possible by explicitly declaring f in the spec to be a function. This thread will show you how to declare variable to be of function type: Typed list of jitted functions in jitclass - #3 by hgrecco

Hope this helps, don’t hesitate to share the result and final code! it might help the next person!

Luk