Ignore:
Timestamp:
06/19/06 16:14:56 (18 years ago)
Author:
smasson
Message:

new compilation options (compile_opt idl2, strictarrsubs) in each routine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/TRIANGULATION/definetri.pro

    r29 r114  
    8989;- 
    9090FUNCTION definetri, nx, ny, downward 
     91; 
     92  compile_opt idl2, strictarrsubs 
     93; 
    9194   nx = long(nx) 
    9295   ny = long(ny) 
     
    109112; the lower-left corner of the rectangle. 
    110113      upward = bytarr(nx, ny)+1 
    111       upward(*, ny-1) = 0 
    112       upward(nx-1, *) = 0 
     114      upward[*, ny-1] = 0 
     115      upward[nx-1, *] = 0 
    113116      if n_elements(downward) NE 0 then upward[downward] = 0 
    114117      upward = where(upward EQ 1) 
Note: See TracChangeset for help on using the changeset viewer.