Browse Source

eps

Former-commit-id: 55133ff161847c1b92f1d249c4cf780c7f06d283
Alec Jacobson 10 years ago
parent
commit
cc9377afb8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/igl/InElementAABB.h

+ 1 - 1
include/igl/InElementAABB.h

@@ -276,7 +276,7 @@ inline std::vector<int> igl::InElementAABB::find(
   bool inside = true;
   bool inside = true;
   const int dim = m_bb_max.size();
   const int dim = m_bb_max.size();
   assert(q.size() == m_bb_max.size());
   assert(q.size() == m_bb_max.size());
-  const double epsilon = 1e-14;
+  const double epsilon = igl::EPS<double>();
   // Check if outside bounding box
   // Check if outside bounding box
   for(int d = 0;d<q.size()&&inside;d++)
   for(int d = 0;d<q.size()&&inside;d++)
   {
   {