Changeset 12148


Ignore:
Timestamp:
2019-12-10T14:59:27+01:00 (8 months ago)
Author:
smasson
Message:

trunk: minor bugfix in bdyvol, see #2345

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/BDY/bdyvol.F90

    r11536 r12148  
    143143      ! Check the cumulated transport through unstructured OBC once barotropic velocities corrected 
    144144      ! ------------------------------------------------------ 
    145       IF( MOD( kt, nn_write ) == 0 .AND. ( kc == 1 ) ) THEN 
     145      IF( MOD( kt, MAX(nn_write,1) ) == 0 .AND. ( kc == 1 ) ) THEN 
    146146         ! 
    147147         ! compute residual transport across boundary 
Note: See TracChangeset for help on using the changeset viewer.