浏览代码

remove overzealous asserts

Alec Jacobson 6 年之前
父节点
当前提交
1c6e530501
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      include/igl/edge_exists_near.cpp

+ 0 - 6
include/igl/edge_exists_near.cpp

@@ -26,12 +26,6 @@ IGL_INLINE bool igl::edge_exists_near(
   // 32 is faster than 8
   // 32 is faster than 8
   pushed.reserve(32);
   pushed.reserve(32);
   assert(a!=b);
   assert(a!=b);
-  // Not handling case where (a,b) is edge on face incident on uei
-  // since this can't happen for edge-flipping.
-  assert(a!=uE(uei,0));
-  assert(a!=uE(uei,1));
-  assert(b!=uE(uei,0));
-  assert(b!=uE(uei,1));
   // starting with the (2) faces incident on e, consider all faces
   // starting with the (2) faces incident on e, consider all faces
   // incident on edges containing either a or b.
   // incident on edges containing either a or b.
   //
   //