‘Functor1D’ is not a member of ‘ROOT::Math’

Yeah I had forgotten to replace the test() with main() :sweat_smile:. But inclusion of Functor.h makes the code work. Thanks for the help!