Problems with GetMax() in TStatistic

Hi,

I am using the TStatistic class for my analysis. I discovered that the fMin value can take any value up to to TMath::Limits<Double_t>::Max(), but fMax can only take values larger than TMath::Limits<Double_t>::Min(). So if I am only studying negative numbers, my max value will never be defined. Is it an error, or it is something that was wanted ?

Thanks in advance

Regards

Jérémie

Hi @dudouet ,
we need @moneta for this one.

Cheers,
Enrico

Hi,
I think is a bug, the default fMax value should be -TMath::Limits<Double_t>::Max() and not TMath::Limits<Double_t>::Min()
I will open a PR to fix this

Lorenzo

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