Chi-square definition in ROOT

This is not the case.
See the numbers in my first post here (“Neyman chi2 = 7.94587” versus “f->GetChisquare()” which returns “8.2006239” ).

It seems this has already been raised a year ago or so (you fixed something but it’s still incorrect):