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

Bug in aep8 #73

Closed
jacobwilliams opened this issue Feb 4, 2024 · 2 comments · Fixed by #74
Closed

Bug in aep8 #73

jacobwilliams opened this issue Feb 4, 2024 · 2 comments · Fixed by #74

Comments

@jacobwilliams
Copy link

IF (IER .NE. 0) STOP

This IER in AEP8 should be IERR. IER is never given a value, so it can be anything.

@lpsinger
Copy link
Contributor

lpsinger commented Feb 9, 2024

I'm not much of a FORTRAN programmer. Is it also a problem that IERR is not defined?

lpsinger added a commit to lpsinger/radbelt that referenced this issue Feb 9, 2024
lpsinger added a commit that referenced this issue Feb 9, 2024
@jacobwilliams
Copy link
Author

IERR was an integer (since the Fortran implicit typing rules are in effect since this function doesn't have implicit none), and given a value by the OPEN call, so that was fine. It doesn't hurt to explicitly define it as you have done.

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 a pull request may close this issue.

2 participants