I’ve encountered an error when attempting to fill histograms with boolean values in python. In previous versions of ROOT (e.g. 6.26) I have been able to successfully fill python True and Falses into TH1D’s with ROOT handling the type-casting. This is no longer the case in 6.32
The following is the most basic version of code that used to work in 6.26, and no longer works in 6.32
import ROOT
h = ROOT.TH1D("test", "test", 10, 0, 10)
h.Fill(True)
in ROOT 6.32 I now get the following error:
TypeError: none of the 3 overloaded methods succeeded. Full details:
int TH1::Fill(Double_t x) =>
TypeError: could not convert argument 1
Is this functionality that was removed, or is this potentially another unexpected change due to the changes in cppyy?