Some other problems with the HP compiler fixed.
authorbarbera <barbera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 14 Jun 2000 17:12:12 +0000 (17:12 +0000)
committerbarbera <barbera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 14 Jun 2000 17:12:12 +0000 (17:12 +0000)
ITS/AliITSsimulationSDD.cxx

index 8afa336d70367883b92f61500bfd2865ce37aa4e..b83b97be5ef8073067e1d42c94b707dbc8367cda 100644 (file)
@@ -1127,7 +1127,8 @@ void AliITSsimulationSDD::Init1D(){
 
     Int_t na,pos,tempTh;
     Float_t mu,sigma;
-    Float_t savemu[fNofMaps], savesigma[fNofMaps];
+        Float_t *savemu = new Float_t [fNofMaps];
+        Float_t *savesigma = new Float_t [fNofMaps];
     const char *kinput,*kbasel,*kpar;
     char *filtmp;
 
@@ -1170,7 +1171,10 @@ void AliITSsimulationSDD::Init1D(){
     
     fclose(param);
     delete [] filtmp;
-
+    delete [] savemu;
+        delete [] savesigma;
+        delete savemu;
+        delete savesigma;
 
 }