From 7853f15768696ae06967cd819aee774a4f50f1d9 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 13 Mar 2014 19:21:35 +0400 Subject: [PATCH] 22511: EDF 2845 SMESH : error with UseExistingFaces --- src/SMESHUtils/SMESH_OctreeNode.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESHUtils/SMESH_OctreeNode.cxx b/src/SMESHUtils/SMESH_OctreeNode.cxx index ef85d11b5..31c6ba660 100644 --- a/src/SMESHUtils/SMESH_OctreeNode.cxx +++ b/src/SMESHUtils/SMESH_OctreeNode.cxx @@ -235,7 +235,7 @@ bool SMESH_OctreeNode::NodesAround(const gp_XYZ &node, // if ( dist2Nodes.size() > 1 ) // leave only closest node in dist2Nodes // dist2Nodes.erase( ++dist2Nodes.begin(), dist2Nodes.end()); - return ( sqrt( minDist) <= precision * 1e-12 ); + return ( sqrt( minDist) <= precision * ( 1 + 1e-12 )); } } return false; -- 2.39.2