KarypisLab / ParMETIS

ParMETIS - Parallel Graph Partitioning and Fill-reducing Matrix Ordering
Other
112 stars 41 forks source link

fixed bug of missing braces in 'if' blocks #18

Closed pvelissariou1 closed 1 year ago

pvelissariou1 commented 2 years ago

In libparmetis/gkmpi.c there are a few "if" blocks that are missing braces and the file fails to compile (GNU Fortran (GCC) 10.3.1 20210422). Also in line 307 of the same file the line: if (sendcounts >= INT_MAX || recvcount >= INT_MAX || sdispls[i] >= INT_MAX) should be modified to: if (sendcounts[i] >= INT_MAX || recvcount >= INT_MAX || sdispls[i] >= INT_MAX)