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 5121 for trunk/NEMOGCM/NEMO/OPA_SRC/DIA – NEMO

Ignore:
Timestamp:
2015-03-04T13:20:24+01:00 (9 years ago)
Author:
acc
Message:

#1478. Bug fix to diaar5.F90 to insert missing SUM operators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/OPA_SRC/DIA/diaar5.F90

    r5120 r5121  
    171171            END DO 
    172172         ELSE 
    173             ztemp = ztemp + zarea_ssh(:,:) * tsn(:,:,1,jp_tem)  
    174             zsal  = zsal  + zarea_ssh(:,:) * tsn(:,:,1,jp_sal)  
     173            ztemp = ztemp + SUM( zarea_ssh(:,:) * tsn(:,:,1,jp_tem) ) 
     174            zsal  = zsal  + SUM( zarea_ssh(:,:) * tsn(:,:,1,jp_sal) ) 
    175175         END IF 
    176176      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.