Skip to content
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

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

Merged
merged 1 commit into from
Mar 26, 2023

Conversation

pvelissariou1
Copy link
Contributor

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)

@pvelissariou1 pvelissariou1 changed the title fixed missing braces in 'if' blocks fixed bug of missing braces in 'if' blocks Aug 24, 2022
Copy link
Contributor

@karypis karypis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix.

@karypis karypis merged commit a733a6b into KarypisLab:main Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants