]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONClusterSplitterMLEM.cxx
Fixing an erreneous message logic
[u/mrichter/AliRoot.git] / MUON / AliMUONClusterSplitterMLEM.cxx
index c27028b281c5bc93aaee6ee091fce228c97cf87b..7b154219dce262584428d18c2400edce2da4ba1b 100644 (file)
@@ -236,7 +236,7 @@ AliMUONClusterSplitterMLEM::Fcn1(const AliMUONCluster& cluster,
     chi2 += delta;
   } // for (Int_t j=0;
   if (iflag == 0 && npads) qAver = qTot / npads;
-  if (!npads)
+  if (!npads && iflag==0)
   {
     AliError(Form("Got npads=0. Please check"));
   }