Technical fix: new xx(2) -> new[2]
authorshahoian <ruben.shahoyan@cern.ch>
Tue, 21 Jan 2014 17:12:05 +0000 (18:12 +0100)
committershahoian <ruben.shahoyan@cern.ch>
Tue, 21 Jan 2014 17:12:57 +0000 (18:12 +0100)
ITS/UPGRADE/DetectorK.cxx

index 44b0e39..a52c2b1 100644 (file)
@@ -2149,7 +2149,7 @@ Double_t* DetectorK::PrepareEffFakeKombinations(TMatrixD *probKomb, TMatrixD *pr
     }
 
   }
-  Double_t *probs = new Double_t(2);
+  Double_t *probs = new Double_t[2];
   probs[0] = probEff; probs[1] = probFake;
   return probs;