A bug of function "G4AnalysisManager::Instance()->CreateH1" in Geant4 11.1!

In Geant4 11.1, I found that the function “G4AnalysisManager::Instance()->CreateH1(const G4String& name, const G4String& title, const std::vector& edges)” always shows the following warnings, even if the parameters are correct. And, the creation of the H1 failed.

Illegal value of (minValue >= maxMaxValue)
1 Like

Hello,

There was indeed a bug, which is now fixed in Geant4 11.1.p2.

Best regards,