Ignore:
Timestamp:
09/05/06 14:24:07 (18 years ago)
Author:
smasson
Message:

clean div, curl, grad + minors bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/WIDGET/COMPOUND_WIDGET/cw_domain.pro

    r157 r167  
    662662; 
    663663  min2 = gdep2[indice1] 
    664   if indice2 EQ jpk-1 then BEGIN  
    665     max2 = max([gdept, gdepw]) 
    666     max2 = strtrim(string(max2, format = '(e8.0)'), 1) 
    667     max2 = float('1'+strmid(max2, 1))+float(max2) 
    668   ENDIF ELSE max2 = gdep1[indice2+1] 
    669   if max2 EQ min2 then max2 = min2+1 
     664  if indice2 EQ jpk-1 then max2 = ceil(max([gdept, gdepw])) $ 
     665  ELSE max2 = gdep1[indice2+1] 
     666  if floor(max2) LE floor(min2) then max2 = min2+1 
    670667  rien = cw_slider_pm(basez, value = (min2 > boxzoom[4]) > boxzoom[5] < max2 $ 
    671668                      , uvalue = {name:'depth2'}, minimum = min2, maximum =  max2 $ 
Note: See TracChangeset for help on using the changeset viewer.