Salome HOME
using a better solution to do compare doubles for shape physical properties
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Coincident.cpp
index 65ca0fc0dc337fb9ce24386712c35e80b24d62eb..a4481383804979d8a4872474fdb20f897a60a652 100644 (file)
@@ -143,7 +143,7 @@ void SketcherPrs_Coincident::Compute(
   Quantity_Color aExternalColor = aIsEdge ? aMainColor : Quantity_NOC_YELLOW;
   Quantity_Color aInternalColor = aIsEdge ? Quantity_NOC_YELLOW : aMainColor;
 
-  int aRatio = SketcherPrs_Tools::pixelRatio();
+  const double aRatio = SketcherPrs_Tools::pixelRatio();
 
   // Create the presentation as a combination of standard point markers
   // The external yellow contour