Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 2013)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 2014)
@@ -34,5 +34,5 @@
      - fixed wrong usage floating point value 0
 
-   * manalysis/MImgCleanStd.cc:
+   * mimage/MImgCleanStd.cc:
      - moved ratio to the other side of the condition (don't divide
        if it is not necessary)
Index: /trunk/MagicSoft/Mars/mimage/MImgCleanStd.cc
===================================================================
--- /trunk/MagicSoft/Mars/mimage/MImgCleanStd.cc	(revision 2013)
+++ /trunk/MagicSoft/Mars/mimage/MImgCleanStd.cc	(revision 2014)
@@ -122,5 +122,5 @@
 
         // COBB: '<=' to skip entry=noise=0
-        if (entry <= fCleanLvl1 * noise / ratio)
+        if (entry*ratio <= fCleanLvl1*noise)
             pix.SetPixelUnused();
 
@@ -276,5 +276,5 @@
         const Double_t ratio = TMath::Sqrt(fCam->GetPixRatio(id));
 
-        if (entry <= fCleanLvl2 * noise / ratio)
+        if (entry*ratio <= fCleanLvl2*noise)
             continue;
 
