Skip to content

Commit

Permalink
Update Noahmp for unary operation bug fix #2 (#1664)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
weiwangncar authored Feb 3, 2022
1 parent a0abfe8 commit 91227a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phys/noahmp

0 comments on commit 91227a6

Please sign in to comment.