KarypisLab / ParMETIS

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

Fix compilation error #12

Closed zheng-da closed 2 years ago

karypis commented 2 years ago

The errexit() function will exit. What is the point for the break?

zheng-da commented 2 years ago

the original code has bugs. it only tests the input in the first iteration and exit from the for loop immediately. the code also generated compilation errors in new gcc. i pushed the new code to fix the issue.

karypis commented 2 years ago

Thanks. I fixed it by removing the break, as I wanted that to be a hard failure.