New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 10523 for NEMO/trunk/src/OCE/IOM/iom.F90 – NEMO

Ignore:
Timestamp:
2019-01-16T10:36:03+01:00 (5 years ago)
Author:
smasson
Message:

trunk: avoid the allocation of potentialy large array in sbcrnf, see #2212

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/IOM/iom.F90

    r10522 r10523  
    13541354      iom_getszuld = -1 
    13551355      IF( kiomid > 0 ) THEN 
    1356          IF( iom_file(kiomid)%iduld .GE. 0 ) THEN 
    1357             iom_getszuld = iom_file(kiomid)%lenuld 
    1358          ENDIF 
     1356         IF( iom_file(kiomid)%iduld > 0 )   iom_getszuld = iom_file(kiomid)%lenuld 
    13591357      ENDIF 
    13601358   END FUNCTION iom_getszuld 
Note: See TracChangeset for help on using the changeset viewer.