Changeset 5121


Ignore:
Timestamp:
2015-03-04T13:20:24+01:00 (6 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.