ROOT.TMath.Sign return template

ROOT Version: v6.18.00
Platform: Linux CC7
Compiler: GCC 6.2


we are facing a weird problem with TMath.Sign in the latest ROOT.

to reproduce:

$ source /cvmfs/
$ python
>>> import ROOT
>>> ROOT.TMath.Sign(211,1)
<ROOT.TemplateProxy object at 0x7fd32fd02890>

While if we run on v6.14.00

[smosciat@lxplus709 ~]$ source /cvmfs/ 
[smosciat@lxplus709 ~]$ python
Python 2.7.10 (default, Aug  2 2019, 11:35:43) 
[GCC 6.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ROOT
>>> ROOT.TMath.Sign(211, 1)

Any idea of what it could be?


Maybe @moneta or @etejedor (since it’s PyROOT) can check what’s going wrong here…

Looks like a bug, I opened a ticket for it:

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