Skip to content

FIX must be the 2nd argument passed to FUN in int/feuler.f90 (plus doc updates)#61

Merged
yantosca merged 2 commits intodevfrom
bugfix/feuler-fun-template
Oct 18, 2022
Merged

FIX must be the 2nd argument passed to FUN in int/feuler.f90 (plus doc updates)#61
yantosca merged 2 commits intodevfrom
bugfix/feuler-fun-template

Conversation

@yantosca
Copy link
Copy Markdown
Contributor

This is the corresponding PR to #60. Also, documentation has been updated to denote this will be KPP 3.0.0-rc.4.

Closes #60

int/feuler.f90
- In routine FunTemplate, VAR was the 2nd argument passed to FUN,
  but this should be FIX.  This was causing the F variable within FUN
  to be corrupted, which returned garbage (negative) values.

Signed-off-by: Bob Yantosca <[email protected]>
CHANGELOG.md
docs/source/getting_started/00_revision_history.rst
- Added a note about the bug fix to int/feuler.f90

docs/source/conf.py
- Updated version number to 3.0.0-rc.4

Signed-off-by: Bob Yantosca <[email protected]>
@yantosca yantosca added bug Something isn't working documentation Improvements or additions to documentation integrators Related to numerical integrators labels Oct 18, 2022
@yantosca yantosca added this to the 3.0.0 milestone Oct 18, 2022
@yantosca yantosca self-assigned this Oct 18, 2022
@RolfSander
Copy link
Copy Markdown
Contributor

AFAICS, this is fine. However, maybe Mike also wants to comment, as feuler.f90 is his code?

@yantosca
Copy link
Copy Markdown
Contributor Author

@msl3v, do you have any comments about this?

@msl3v
Copy link
Copy Markdown
Contributor

msl3v commented Oct 18, 2022

This fix is correct. VAR was included erroneously as an argument to FUN() in feuler.f90.

Copy link
Copy Markdown
Contributor Author

@msl3v @jimmielin @RolfSander: could one of you approve the PR? I can't do it as the author. Then I can merge & release. Thanks!

Copy link
Copy Markdown
Contributor Author

Also note: GitHub allows you to automatically generate release notes based on the comments in the logs from each PR. So it's important that even simple fixes like this go thru a PR.

@jimmielin
Copy link
Copy Markdown
Member

Thanks Bob, approved!

@msl3v
Copy link
Copy Markdown
Contributor

msl3v commented Oct 18, 2022

Wasn't listed as a reviewer. Could I still have approved this? (I looked but didn't see that it was possible)

@yantosca yantosca merged commit 887de1b into dev Oct 18, 2022
Copy link
Copy Markdown
Contributor Author

My bad, @msl3v. I should have made you a reviewer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation integrators Related to numerical integrators

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG/ISSUE] FIX must be the 2nd argument passed to FunTemplate in int/feuler.f90-

4 participants