Hello
import ROOT
class Fitter(ROOT.Fit.Fitter):
def __init__(self):
super().__init__()
/tmp/ipykernel_2130/1942954617.py:1: RuntimeWarning: class "ROOT::Fit::Fitter" has no virtual destructor
class Fitter(ROOT.Fit.Fitter):
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[2], line 1
----> 1 class Fitter(ROOT.Fit.Fitter):
2 def __init__(self):
3 super().__init__()
TypeError: no python-side overrides supported (failed to compile the dispatcher code)
input_line_54:41:12: error: cannot initialize return object of type 'ROOT::Math::IBaseFunctionMultiDimTempl<double> *' with an rvalue of type 'const ROOT::Math::IMultiGenFunction *' (aka 'const IBaseFunctionMultiDimTempl<double> *')
return Fitter::ObjFunction();
It fails for master and python 3.11
!root --version
ROOT Version: 6.29/01
Built for linuxx8664gcc
From heads/master@e95da4da
It is OK for ROOT 6.26.10 and python 3.10
!root --version
ROOT Version: 6.26/10
Built for linuxx8664gcc
From tags/v6-26-10@v6-26-10
Is it just a bug, or something else is going on?
Cheers,
Jiri