Ignore:
Timestamp:
06/14/07 14:41:34 (17 years ago)
Author:
smasson
Message:

small bugfix: z2d[0] = -1 and z2d has more than 1 element

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltv.pro

    r231 r251  
    9090    ENDIF 
    9191    z2d = checkfield(temporary(z2d), 'plt', TYPE = 'xy', direc = direc, BOXZOOM = boxzoom) 
    92     if z2d[0] EQ -1 then BEGIN 
     92    if n_elements(z2d) EQ 1 AND z2d[0] EQ -1 then BEGIN 
    9393      IF keyword_set(savedbox) THEN restoreboxparam, 'boxparam4pltv.dat' 
    9494      return 
Note: See TracChangeset for help on using the changeset viewer.