Browse Source

fix debug bug (#2360)

Co-authored-by: Alec Jacobson <[email protected]>
Alec Jacobson 1 year ago
parent
commit
1886d18147
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/igl/split_nonmanifold.cpp

+ 1 - 1
include/igl/split_nonmanifold.cpp

@@ -303,7 +303,7 @@ IGL_INLINE void igl::split_nonmanifold(
     const int vd1 = V[d1];
     const int vd1 = V[d1];
     const int vs2 = V[s2];
     const int vs2 = V[s2];
 
 
-#ifndef IGL_SPLIT_NONMANIFOLD_DEBUG
+#ifdef IGL_SPLIT_NONMANIFOLD_DEBUG
     const auto simulated_merge_is_manifold_old = [&]()->bool
     const auto simulated_merge_is_manifold_old = [&]()->bool
     {
     {
       Eigen::VectorXi V_copy = V;
       Eigen::VectorXi V_copy = V;