Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bug fix in stress/force routine producing Infinity/NaN. #7

Merged
merged 1 commit into from
Oct 5, 2022

Conversation

nscolonna
Copy link
Collaborator

Wrong way of passing IN/OUT variables to the subroutine that checks and applies PBCs. This causes Infinity and/or NaN at run time if compiling with gfortran with optimization.

Wrong way of passing IN/OUT variable to a subroutine.
@nscolonna nscolonna added the bug Something isn't working label Oct 5, 2022
@nscolonna nscolonna requested a review from elinscott October 5, 2022 08:34
@nscolonna nscolonna self-assigned this Oct 5, 2022
Copy link
Collaborator

@elinscott elinscott left a comment

Choose a reason for hiding this comment

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

Ooof, fantastic work finding this bug. To test your changes I merged this branch with add_tests and the tests -- which previously returned Infs and NaNs -- now pass (see here for details).

@elinscott elinscott merged commit 40d6a2c into master Oct 5, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants