Skip to content
Snippets Groups Projects
Commit e31e6fe0 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix warnings

parent 97a90890
No related branches found
No related tags found
No related merge requests found
......@@ -322,7 +322,7 @@ bool GFaceCompound::checkCavity(std::vector<MElement*> &vTri) const
static bool closedCavity(MVertex *v, std::vector<MElement*> &vTri){
std::set<MVertex *> vs;
for (int i=0;i<vTri.size();i++){
for (unsigned int i = 0; i < vTri.size(); i++){
MElement *t = vTri[i];
for (int j = 0; j < t->getNumVertices(); j++){
MVertex *vv = t->getVertex(j);
......@@ -1454,7 +1454,7 @@ void GFaceCompound::coherenceNormals()
{
std::map<MEdge, std::set<MTriangle*>, Less_Edge > edge2tris;
for(int i=0; i< triangles.size(); i++){
for(unsigned int i = 0; i < triangles.size(); i++){
MTriangle *t = triangles[i];
for (int j = 0; j < 3; j++){
MEdge me = t->getEdge(j);
......@@ -1476,7 +1476,7 @@ void GFaceCompound::coherenceNormals()
int iE, si, iE2, si2;
touched.insert(triangles[0]);
while(touched.size() != triangles.size()){
for(int i = 0; i< triangles.size(); i++){
for(unsigned int i = 0; i < triangles.size(); i++){
MTriangle *t = triangles[i];
std::set<MTriangle*>::iterator it2 = touched.find(t);
if(it2 != touched.end()){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment