File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -2513,7 +2513,7 @@ void TH1::ClearUnderflowAndOverflow()
25132513Double_t TH1::ComputeIntegral (Bool_t onlyPositive, Option_t *option)
25142514{
25152515 if (fBuffer ) BufferEmpty ();
2516- bool useArea = TString (option).ToLower (). Contains (" width" );
2516+ bool useArea = TString (option).Contains (" width" , TString:: kIgnoreCase );
25172517 // delete previously computed integral (if any)
25182518 if (fIntegral ) delete [] fIntegral ;
25192519
@@ -2526,9 +2526,6 @@ Double_t TH1::ComputeIntegral(Bool_t onlyPositive, Option_t *option)
25262526 fIntegral = new Double_t[nbins + 2 ];
25272527 Int_t ibin = 0 ; fIntegral [ibin] = 0 ;
25282528
2529-
2530-
2531- y=y*xWidth*yWidth*zWidth;
25322529 for (Int_t binz=1 ; binz <= nbinsz; ++binz) {
25332530 Double_t zWidth = (fDimension > 2 ) ? fZaxis .GetBinWidth (binz) : 1 ;
25342531 for (Int_t biny=1 ; biny <= nbinsy; ++biny) {
You can’t perform that action at this time.
0 commit comments