Fixed warning due to signed unsigned comparison
This commit is contained in:
@@ -95,7 +95,7 @@ check(unsigned int _targets, std::ostream& _os)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (heh.is_valid()) {
|
if (heh.is_valid()) {
|
||||||
if (heh.idx() < -1 || heh.idx() >= mesh_.n_halfedges()) {
|
if (heh.idx() < -1 || heh.idx() >= (int)mesh_.n_halfedges()) {
|
||||||
_os << "MeshChecker: vertex " << vh
|
_os << "MeshChecker: vertex " << vh
|
||||||
<< " has out-of-bounds outgoing HE: " << heh;
|
<< " has out-of-bounds outgoing HE: " << heh;
|
||||||
ok = false;
|
ok = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user