Skip to content

Commit

Permalink
fix wrong index in MMG3D_Get_tensorSol
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristosT authored and Algiane committed Jan 19, 2018
1 parent 07f0cc3 commit a1dbb17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mmg3d/API_functions_3d.c
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,7 @@ int MMG3D_Get_tensorSol(MMG5_pSol met, double *m11,double *m12, double *m13,
*m12 = met->m[6*met->npi+1];
*m13 = met->m[6*met->npi+2];
*m22 = met->m[6*met->npi+3];
*m13 = met->m[6*met->npi+4];
*m23 = met->m[6*met->npi+4];
*m33 = met->m[6*met->npi+5];

return(1);
Expand Down

0 comments on commit a1dbb17

Please sign in to comment.