Browse Source

assert

Former-commit-id: 43be27d85fa3485a07c796f8d26e2f60a487f4ea
Alec Jacobson 9 years ago
parent
commit
b316aeb89d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/igl/copyleft/cgal/propagate_winding_numbers.cpp

+ 1 - 0
include/igl/copyleft/cgal/propagate_winding_numbers.cpp

@@ -119,6 +119,7 @@ IGL_INLINE bool igl::copyleft::cgal::propagate_winding_numbers(
   bool valid = true;
   if (!piecewise_constant_winding_number(F, uE, uE2E)) 
   {
+    assert(false && "Input mesh is not orientable");
     std::cerr << "Input mesh is not orientable!" << std::endl;
     valid = false;
   }