]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Coverity fix
authorshahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 29 Apr 2013 09:59:03 +0000 (09:59 +0000)
committershahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 29 Apr 2013 09:59:03 +0000 (09:59 +0000)
ITS/UPGRADE/AliITSUSensMap.cxx

index 04c9bf1c8b19084b8fe0c0dd13ad5ed1e5fb4770..3d61a79a26fd9673e2198059be72036ceb73bed5 100644 (file)
@@ -136,6 +136,6 @@ void  AliITSUSensMap::SetDimensions(UInt_t dimCol,UInt_t dimRow,UInt_t dimCycle)
   fDimCol = dimCol; 
   fDimRow = dimRow; 
   fDimCycle=dimCycle;
-  if ((fDimCol*fDimRow*fDimCycle*2)>kMaxPackDim) AliFatal(Form("Dimension %dx%dx%d*2 cannot be packed to UInt_t",fDimCol,fDimRow,fDimCycle));
+  if ((fDimCol*fDimRow*fDimCycle)>kMaxPackDim/2) AliFatal(Form("Dimension %dx%dx%d*2 cannot be packed to UInt_t",fDimCol,fDimRow,fDimCycle));
 }