Bug in checkdefs.F for NEMURO case

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
twainwright

Bug in checkdefs.F for NEMURO case

#1 Unread post by twainwright »

Building NEMURO model with IVLEV_EXPLICIT set results in a cpp error:

ROMS/Utility/checkdefs.F:2891: error: operator '&&' has no right operand

This seems to be a typo in checkdefs.F. The following change fixed the problem--compiles and runs OK:

$ diff ROMS/Utility/checkdefs.F.orig ROMS/Utility/checkdefs.F
2891c2891
< #if defined NEMURO && defined HOLLING_GRAZING && IVLEV_EXPLICIT
---
> #if defined NEMURO && defined HOLLING_GRAZING && defined IVLEV_EXPLICIT

--Tom

User avatar
arango
Site Admin
Posts: 1350
Joined: Wed Feb 26, 2003 4:41 pm
Location: DMCS, Rutgers University
Contact:

Re: Bug in checkdefs.F for NEMURO case

#2 Unread post by arango »

Yes, this is a typo. The CPP directive is missing the defined token. The repository was corrected. Thank you for reporting this typo.

Post Reply