Skip to content

Commit

Permalink
Fix wrong array initialization (int64 bit compilation).
Browse files Browse the repository at this point in the history
  • Loading branch information
Algiane committed Sep 12, 2023
1 parent de3046f commit fec3aee
Showing 1 changed file with 1 addition and 1 deletion.
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 fec3aee

Please sign in to comment.