Browse Source

Merge branch 'master' of https://github.com/libigl/libigl

Former-commit-id: 39ca12ae1fde015ff7f7094de78d00b9ad1d3b32
Daniele Panozzo 9 years ago
parent
commit
3e282438f3
1 changed files with 3 additions and 3 deletions
  1. 3 3
      include/igl/copyleft/tetgen/tetrahedralize.cpp

+ 3 - 3
include/igl/copyleft/tetgen/tetrahedralize.cpp

@@ -84,17 +84,17 @@ IGL_INLINE int igl::copyleft::tetgen::tetrahedralize(
     bool TV_rect = list_to_matrix(vTV,TV);
     if(!TV_rect)
     {
-      return false;
+      return 3;
     }
     bool TT_rect = list_to_matrix(vTT,TT);
     if(!TT_rect)
     {
-      return false;
+      return 3;
     }
     bool TF_rect = list_to_matrix(vTF,TF);
     if(!TF_rect)
     {
-      return false;
+      return 3;
     }
   }
   return e;