diff --git a/facetopology.c b/facetopology.c index 21e7e7e6..b4fc8a75 100644 --- a/facetopology.c +++ b/facetopology.c @@ -220,7 +220,7 @@ void findconnections(int n, int *pts[4], /* for (i=0; i<2*n; work[i++]=-1); */ for (i = 0; iface_ptr[++out->number_of_faces] = f - out->face_nodes; @@ -332,8 +332,8 @@ void findconnections(int n, int *pts[4], } /* Update candidates for restart of j for in next i-iteration */ - if (b1[j] < a1[i+1]) k1 = j; - if (b2[j] < a2[i+1]) k2 = j; + if (b1[j] < a1[i+1]) { k1 = j; } + if (b2[j] < a2[i+1]) { k2 = j; } j = j+1; } @@ -344,7 +344,7 @@ void findconnections(int n, int *pts[4], tmp = itop; itop = ibottom; ibottom = tmp; /* Zero out the "new" itop */ - for(j=0;j