TF2 Integral with Minuit2 error (repost)

Continuing the discussion from TF2 Integral with Minuit2 error:
I am facing the same problem and the solution does not work for me. I do expect an Arithmetic Error at some point for division by 0 but I don’t know why the TF2 error is happening. I am using math functions such as exp, cosh, pow from cmath. Should I switch to TMath due to precision problems? Please provide suggestions.

Thanks for helping!

ROOT Version: 6.18.04
Platform: Ubuntu 18.04.3 LTS in WSL
Compiler: g++ 7.4.0

You must protect your function against performing “illegal operations” (i.e. make sure that no errors occur).

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.