소스 검색

warnings

Former-commit-id: 12c0ebafe3d35cfd86cc0c8fec6ce79035db3bd9
Alec Jacobson 10 년 전
부모
커밋
87db7d530d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/igl/doublearea.cpp

+ 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