// Extract randomly the charge of the fragments from the distribution
- Float_t zz[fNimf];
+ Float_t * zz = new Float_t[fNimf];
for(Int_t j=0; j<fNimf; j++){
zz[j] =0;
}
delete funTau;
// Sorting vector in ascending order with C function QSORT
- qsort((void*)zz,fNimf,sizeof(float),comp);
+ qsort((void*)zz,fNimf,sizeof(Float_t),comp);
// for(Int_t i=0; i<fNimf; i++){
if(fZZ[j]<3) fZZ[j] = 3;
// printf("\n fZZ[%d] = %d \n",j,fZZ[j]);
}
+
+ delete[] zz;
// Check that the sum of the bound charges is not > than Zbound-Zalfa