Salome HOME
Fix regressions
[modules/smesh.git] / src / SMESHUtils / SMESH_MeshAlgos.cxx
index dfdaf42d9a1a366242844707a5e4c01f5e384576..a9ad04af523c96f0c8f9f26c5025c397276fb4af 100644 (file)
@@ -1194,7 +1194,7 @@ bool SMESH_MeshAlgos::IsOut( const SMDS_MeshElement* element, const gp_Pnt& poin
     dist.back() = dist.front();
     // find the closest intersection
     int    iClosest = -1;
-    double rClosest, distClosest = 1e100;;
+    double rClosest = 0, distClosest = 1e100;;
     gp_Pnt pClosest;
     for ( i = 0; i < nbNodes; ++i )
     {