Bug in TAxis::Set

try to look at this code:

double x[] = {1,2,3,4};
TH1F h("h", "h", 3, x);
h.Print("ALL")
h.GetXaxis()->Set(8, 0, 8);
h.Print("ALL")

I think you need to fix TAxis::Set or TH1F::GetBinCenter.

Hi,
Thank you for reporting this, since it is not a common usage to change from variable bins to fixed bins.
TAxis::Set is now fixed in the ROOT trunk

Regards

Lorenzo