Hadd: Cannot merge histograms - limits are inconsistent

Hello, I get the following error as I try to merge histograms with hadd:

$ hadd prova.root EffTrkBasic060621-060712.root EffTrkBasic060713-060717.root              
Target file: prova.root                                                                                                   
Source file 1: EffTrkBasic060621-060712.root                                                                              
Source file 2: EffTrkBasic060713-060717.root                                                                              
Target path: prova.root:/                                                                                                 
Error in <TH1I::Merge>: Cannot merge histograms - limits are inconsistent:                                                
 first: (173, 0.000000, 1500.000000), second: (173, 0.000000, 1500.000000)                                                
Error in <TH1I::Merge>: Cannot merge histograms - limits are inconsistent:                                                
 first: (173, 0.000000, 1500.000000), second: (173, 0.000000, 1500.000000)

It sounds strange to me because I did hadd many times before, and everything worked smoothly. I also don’t understand why it complains about inconsistent limits.
I use root 5.20 on a 32 bit machine.
Thanks to everyone for the help

Could you post your 2 files?

Rene

Here you can dwonload the two files with the histograms:

qdrive.net/download/shareli … HsrxF98gXX

qdrive.net/download/shareli … pN5MgXxzX4

Thank you, Rene.

I found the problem, it was a bug in my code which didn’t set the lower limit of the histogram, which was consequently initialized to a dummy value.
Thanks anyway!!