Skip to content

Commit

Permalink
Merge pull request #223 from MmgTools/hotfix/int-max-init
Browse files Browse the repository at this point in the history
Hotfix/int max init
  • Loading branch information
Algiane authored Sep 17, 2023
2 parents de3046f + a7755c7 commit 433519f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/mmg3d/colver_3d.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,8 +624,8 @@ int MMG5_chkcol_bdy(MMG5_pMesh mesh,MMG5_pSol met,MMG5_int k,int8_t iface,
* shell because some MG_BDY tags may be missings due to the creation
* of an xtetra during a previous collapse */
if ( !(pxt->ftag[i] & MG_BDY) ) {
int16_t tag0,tag1,tag2;
int ref0,ref1,ref2;
int16_t tag0,tag1,tag2;
MMG5_int ref0,ref1,ref2;

tag0 = tag1 = tag2 = 0;
ref0 = ref1 = ref2 = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/mmg3d/quality_3d.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ int MMG3D_computePrilen( MMG5_pMesh mesh, MMG5_pSol met, double* avlen,
static double bd[9]= {0.0, 0.3, 0.6, 0.7071, 0.9, 1.3, 1.4142, 2.0, 5.0};

*bd_in = bd;
memset(hl,0,9*sizeof(int));
memset(hl,0,9*sizeof(MMG5_int));
*ned = 0;
*avlen = 0.0;
*lmax = 0.0;
Expand Down

0 comments on commit 433519f

Please sign in to comment.