Ignore:
Timestamp:
04/07/11 10:03:36 (13 years ago)
Author:
smasson
Message:

bugfix to keep double precision of vertical scale factors in all cases

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Computation/e3t_3d.pro

    r450 r454  
    4444    keyword_set(e1) AND keyword_set(e2):arr2d = e1t[fstx:lstx, fsty:lsty] * e2t[fstx:lstx, fsty:lsty] 
    4545    keyword_set(e1)                    :arr2d = e1t[fstx:lstx, fsty:lsty] 
    46     keyword_set(e2):arr2d =                             e2t[fstx:lstx, fsty:lsty] 
    47     ELSE:arr2d = replicate(1., nx*ny) 
     46                        keyword_set(e2):arr2d =                             e2t[fstx:lstx, fsty:lsty] 
     47    ELSE:arr2d = replicate(1.d, nx*ny) 
    4848  ENDCASE 
    4949  e3t3d = arr2d[*] # e3t[firstzt:lastzt] 
Note: See TracChangeset for help on using the changeset viewer.