Salome HOME
#19982 EDF 21954 - Compute mesh fails -------- compilation error
authoreap <eap@opencascade.com>
Mon, 12 Oct 2020 09:38:29 +0000 (12:38 +0300)
committereap <eap@opencascade.com>
Mon, 12 Oct 2020 09:38:29 +0000 (12:38 +0300)
src/StdMeshers/StdMeshers_FaceSide.cxx

index 6d0e8a97a3fb6ef38617075378057ca3f32b7d80..a9c254e096edeb155f9e4680fbfde2191b0458a1 100644 (file)
@@ -182,7 +182,7 @@ StdMeshers_FaceSide::StdMeshers_FaceSide(const TopoDS_Face&            theFace,
   } // loop on edges
 
   // orient seam edges (#19982)
-  const tol = Precision::Confusion();
+  const double tol = Precision::Confusion();
   if ( NbEdges() > 1 && !myC2d[0].IsNull() )
     for ( int i = 0; i < NbEdges(); ++i )
     {