Эх сурвалжийг харах

std::__1

Former-commit-id: 6074a06499b8e4411a0b77b64394ec5ba239b7ae
Alec Jacobson 9 жил өмнө
parent
commit
e085c0c818

+ 2 - 2
include/igl/copyleft/cgal/remesh_intersections.cpp

@@ -161,7 +161,7 @@ IGL_INLINE void igl::copyleft::cgal::remesh_intersections(
 
             if (itr == offending.end()) continue;
             for (const auto& index_obj : itr->second) {
-                const auto& ofid = index_obj.first;
+                //const auto& ofid = index_obj.first;
                 const auto& obj = index_obj.second;
                 if(const Segment_3 *iseg = CGAL::object_cast<Segment_3 >(&obj)) {
                     // Add segment constraint
@@ -431,7 +431,7 @@ IGL_INLINE void igl::copyleft::cgal::remesh_intersections(
     if (!stitch_all) {
       // Vertices with the same coordinates would be represented by one vertex.
       // The IM value of an vertex is the index of the representative vertex.
-      for (Index v=0; v<VV_size; v++) {
+      for (Index v=0; v<(Index)VV_size; v++) {
         IM(v) = unique_to_vv[vv_to_unique[v]];
       }
     } else {