Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
143f1ac
)
22511: EDF 2845 SMESH : error with UseExistingFaces
author
eap
<eap@opencascade.com>
Thu, 13 Mar 2014 15:21:35 +0000
(19:21 +0400)
committer
eap
<eap@opencascade.com>
Thu, 13 Mar 2014 15:21:35 +0000
(19:21 +0400)
src/SMESHUtils/SMESH_OctreeNode.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHUtils/SMESH_OctreeNode.cxx
b/src/SMESHUtils/SMESH_OctreeNode.cxx
index ef85d11b56a260d66ef12582f9b9d9c3d0699837..31c6ba660cebe8d1a4ab9de08c3bf82e74f16b23 100644
(file)
--- 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;