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 9919 for NEMO/trunk/src/OCE/stpctl.F90 – NEMO

Ignore:
Timestamp:
2018-07-10T17:07:05+02:00 (6 years ago)
Author:
smasson
Message:

trunk: avoid potential rounding errors (use nint instead of int)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/stpctl.F90

    r9808 r9919  
    114114         CALL mpp_max_multiple( zmax(:), 5 )    ! max over the global domain 
    115115         ! 
    116          nstop = INT( zmax(5) )                 ! nstop indicator sheared among all local domains 
     116         nstop = NINT( zmax(5) )                 ! nstop indicator sheared among all local domains 
    117117      ENDIF 
    118118      ! 
Note: See TracChangeset for help on using the changeset viewer.