-
-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
64-bit integers and CI tests #244
64-bit integers and CI tests #244
Conversation
…y when MMG is compiled in int 64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, just one small question... ;-)
src/mmgs/inout_s.c
Outdated
@@ -171,7 +172,7 @@ int MMGS_loadMesh(MMG5_pMesh mesh, const char *filename) { | |||
} | |||
MMG_FREAD(&mesh->ver,MMG5_SW,1,inm); | |||
if(iswp) mesh->ver = MMG5_swapbin(mesh->ver); | |||
while(fread(&binch,MMG5_SW,1,inm)!=0 && binch!=54 ) { | |||
while(fread(&binch,4,1,inm)!=0 && binch!=54 ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why removing the macro here? Is it not the same?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a mistake. I reverted this change.
Also: can you check while some tests are failing, please (https://github.com/MmgTools/mmg/actions/runs/8097282072/job/22127995683?pr=244). |
…property to ctests using ELAS with int64_t
Perfect, thanks! |
This updates adds Github actions for running continuous integrations tests with 64-bit integers.
It also fixes somes bugs related to data reading in binary files.