Skip to content

Commit

Permalink
Uncommented section that is needed to properly set the value of the
Browse files Browse the repository at this point in the history
MaxIndex.  It was commented out for a test and was inadvertantly left
that way.
  • Loading branch information
richb2k committed Nov 7, 2024
1 parent 7d49e00 commit 79b362a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions elmergrid/src/egextra.c
Original file line number Diff line number Diff line change
Expand Up @@ -892,11 +892,9 @@ int MeshPieces(struct FemType *data,int nomesh,int nomeshes,int info)
}
/* printf("Mesh coloring loops: %d\n",Loop); */

/*
MaxIndex = 0;
for(i=1; i<=n; i++)
if(MeshPiece[i] > MaxIndex) MaxIndex = MeshPiece[i];
*/

/* Compute the true number of different pieces */
if(MaxIndex == 1) {
Expand Down

0 comments on commit 79b362a

Please sign in to comment.