X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH%2FSMESH_MeshEditor.cxx;h=a625ba50a2d6297c4ab3cfc364b5ba0f3d40a7d6;hb=7c6e727b2495af2006d4ae62ab159d9045764179;hp=831767d2915cf0592fb130557b62275e8008b4ad;hpb=e1c5ea607e128d582ce0db63ef1f9b61629dd5d1;p=modules%2Fsmesh.git diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index 831767d29..a625ba50a 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -50,6 +50,7 @@ #include #include "utilities.h" +#include "chrono.hxx" #include #include @@ -10392,6 +10393,7 @@ namespace { } void Perform(const gp_Pnt& aPnt, double theTol) { + theTol *= theTol; _state = TopAbs_OUT; _extremum.Perform(aPnt); if ( _extremum.IsDone() )