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 192 for trunk/NEMO/LIM_SRC/limthd.F90 – NEMO

Ignore:
Timestamp:
2004-12-22T16:33:48+01:00 (20 years ago)
Author:
opalod
Message:

CT : BUGFIX133 : correction of the njeq initialisation to avoid compilation error when making a bound array check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC/limthd.F90

    r141 r192  
    302302      !      Tricky trick : add 2 to frld in the Southern Hemisphere. 
    303303      !---------------------------------------------------------- 
    304       DO jj = 1, njeqm1      !ibug in mpp 
    305          DO ji = 1, jpi 
    306             frld(ji,jj) = frld(ji,jj) + 2.0 
    307          END DO 
    308       END DO 
     304      IF( fcor(1,1) < 0.e0 ) THEN 
     305         DO jj = 1, njeqm1      !ibug in mpp 
     306            DO ji = 1, jpi 
     307               frld(ji,jj) = frld(ji,jj) + 2.0 
     308            END DO 
     309         END DO 
     310      ENDIF 
    309311       
    310312       
Note: See TracChangeset for help on using the changeset viewer.