Correcting typo
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 17 Jun 2011 11:22:39 +0000 (11:22 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 17 Jun 2011 11:22:39 +0000 (11:22 +0000)
PYTHIA6/AliGenPythia.cxx

index e0ab292..1d8561e 100644 (file)
@@ -1898,7 +1898,7 @@ Double_t w[]={
       return kTRUE;
     }
 
-    Int_t ibin=nbin;
+    Int_t ibin=nbin-1;
     for(Int_t i=1; i<nbin; i++) 
       if(M<=bin[i]) {
        ibin=i-1;