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

warnings

Former-commit-id: 12c0ebafe3d35cfd86cc0c8fec6ce79035db3bd9
Alec Jacobson 9 жил өмнө
parent
commit
87db7d530d

+ 1 - 1
include/igl/doublearea.cpp

@@ -126,7 +126,7 @@ IGL_INLINE void igl::doublearea(
   sort(ul,2,false,l,_);
   // semiperimeters
   Matrix<typename Derivedl::Scalar,Dynamic,1> s = l.rowwise().sum()*0.5;
-  assert((size_t)s.rows() == m);
+  assert((Index)s.rows() == m);
   // resize output
   dblA.resize(l.rows(),1);
   // Minimum number of iterms per openmp thread