Ignore:
Timestamp:
01/25/11 12:24:31 (13 years ago)
Author:
smasson
Message:

bugfix related to changeset:445

File:
1 edited

Legend:

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

    r446 r447  
    6161    IF ok[0]  NE -1 THEN BEGIN  
    6262; the bottom of the ocean in 3D index is: 
    63       bottom  = lindgen(nx*ny) + nx*ny*(temporary(bottom ))[ok ] 
     63      bottom  = (lindgen(nx*ny))[ok ] + nx*ny*(temporary(bottom ))[ok ] 
    6464      e3t3d[temporary(bottom )] = arr2d[ok ] * (e3t_ps[fstx:lstx, fsty:lsty])[ok ] 
    6565    ENDIF 
    6666    IF ok2[0] NE -1 THEN BEGIN  
    67       bottom2 = lindgen(nx*ny) + nx*ny*(temporary(bottom2))[ok2] 
     67      bottom2 = (lindgen(nx*ny))[ok2] + nx*ny*(temporary(bottom2))[ok2] 
    6868      e3t3d[temporary(bottom2)] = arr2d[ok2] * (e3t_ps[fstx:lstx, fsty:lsty])[ok2] 
    6969    ENDIF 
Note: See TracChangeset for help on using the changeset viewer.