Skip to content

Update Noahmp for unary operation bug fix #2#1664

Merged
davegill merged 5 commits intowrf-model:release-v4.4from
weiwangncar:noahmp_unary_op_bf2
Feb 3, 2022
Merged

Update Noahmp for unary operation bug fix #2#1664
davegill merged 5 commits intowrf-model:release-v4.4from
weiwangncar:noahmp_unary_op_bf2

Conversation

@weiwangncar
Copy link
Collaborator

@weiwangncar weiwangncar commented Feb 1, 2022

TYPE: bug fix

KEYWORDS: unary operator, Noahmp

SOURCE: Internal

DESCRIPTION OF CHANGES:
Problem:
Found more occurrences of a* -b in Noahmp. A space is in between * and -1. OK even for Cray, but it is still non-standard.

Solution:
The same solution is applied: add parentheses: a * (-b).

ASSOCIATED REPOSITORY CHANGE:
NCAR/noahmp#33

LIST OF MODIFIED FILES:
modified: phys/noahmp

TESTS CONDUCTED:

  1. More code is fixed.
  2. Jenkins tests are all passing.

@davegill davegill self-requested a review February 2, 2022 20:37
@davegill davegill merged commit 91227a6 into wrf-model:release-v4.4 Feb 3, 2022
vlakshmanan-scala pushed a commit to scala-computing/WRF that referenced this pull request Apr 4, 2024
TYPE: bug fix

KEYWORDS: unary operator, Noahmp

SOURCE: Internal

DESCRIPTION OF CHANGES:
Problem:
Found more occurrences of `a* -b` in Noahmp. A space is in between `*` and `-1`. OK even for Cray, but it is still non-standard.

Solution:
The same solution is applied: add parentheses: `a * (-b)`.

ASSOCIATED REPOSITORY CHANGE:
NCAR/noahmp#33

LIST OF MODIFIED FILES:
modified: phys/noahmp

TESTS CONDUCTED: 
1. More code is fixed.
2. Jenkins tests are all passing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants