Browse Source

fix warnings

Former-commit-id: 637e5aa3d04c72f7eae11bbe88fb37c00f8edfe3
Alec Jacobson 10 năm trước cách đây
mục cha
commit
b544172c71
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      include/igl/doublearea.cpp

+ 1 - 1
include/igl/doublearea.cpp

@@ -124,7 +124,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(s.rows() == m);
+  assert((size_t)s.rows() == m);
   // resize output
   dblA.resize(l.rows(),1);
   // Minimum number of iterms per openmp thread