Skip to content

Commit

Permalink
Added a missing initialization of several variables when reading inpu…
Browse files Browse the repository at this point in the history
…t mesh
  • Loading branch information
coprigent committed Nov 20, 2023
1 parent 51b57f1 commit a69d20d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/inout.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ int H2T_loadMesh(MMG5_pMesh mmgMesh,int** tabhex,char *filename) {
MMG5_int v0, v1;

posnp = posna = posnhex = posnr = 0;
np = nhex = na = nr = 0;

strcpy(data,filename);
if( !(inm = fopen(data,"r")) ) {
Expand Down

0 comments on commit a69d20d

Please sign in to comment.