Browse Source

fix namespace issue

Former-commit-id: 1e62abf0e5674521d8395187bc84e9f617a7e443
Alec Jacobson 7 years ago
parent
commit
27a159fa27
1 changed files with 4 additions and 3 deletions
  1. 4 3
      include/igl/copyleft/cgal/propagate_winding_numbers.cpp

+ 4 - 3
include/igl/copyleft/cgal/propagate_winding_numbers.cpp

@@ -118,10 +118,11 @@ IGL_INLINE bool igl::copyleft::cgal::propagate_winding_numbers(
 #endif
 
   bool valid = true;
-  if (!piecewise_constant_winding_number(F, uE, uE2E)) 
+  // https://github.com/libigl/libigl/issues/674
+  if (!igl::piecewise_constant_winding_number(F, uE, uE2E)) 
   {
-    assert(false && "Input mesh is not orientable");
-    std::cerr << "Input mesh is not orientable!" << std::endl;
+    assert(false && "Input mesh is not PWN");
+    std::cerr << "Input mesh is not PWN!" << std::endl;
     valid = false;
   }