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/Interpolation/map_npoints.pro

    r101 r114  
    9292  ,  RADIANS = radians, RADIUS = radius, MIDDLE = middle, TWO_BY_TWO = two_by_two 
    9393 
    94   COMPILE_OPT idl2 
    95   ON_ERROR, 2                   ; return to caller 
     94  COMPILE_OPT idl2, strictarrsubs 
    9695 
    9796  IF (N_PARAMS() LT 4) THEN $ 
     
    107106    MESSAGE, 'When using two_by_two keyword, P0 and P1 must have the same number of elements' 
    108107 
    109   mx = MAX(ABS([lat0, lat1])) 
     108  mx = MAX(ABS([lat0[*], lat1[*]])) 
    110109  pi2 = !dpi/2 
    111110  IF (mx GT (KEYWORD_SET(radians) ? pi2 : 90)) THEN $ 
Note: See TracChangeset for help on using the changeset viewer.