Changeset 386


Ignore:
Timestamp:
12/03/08 14:26:28 (15 years ago)
Author:
smasson
Message:

3 small bugfix

Location:
trunk/SRC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/GRILLE/decoupeterre.pro

    r370 r386  
    244244        AND ny EQ 1 AND keyword_set(realsection):BEGIN 
    245245        bottom = total(mask, 3) 
    246         good = where(bottom NE 0 AND bottom NE nz+1) 
     246        good = where(bottom NE 0 AND bottom NE nz) 
    247247        bottom = lindgen(nx)+(bottom)*nx 
    248248        IF good[0] NE -1 THEN BEGIN 
     
    256256        AND nx EQ 1 AND keyword_set(realsection):BEGIN 
    257257        bottom = total(mask, 3) 
    258         good = where(bottom NE 0 AND bottom NE nz+1) 
     258        good = where(bottom NE 0 AND bottom NE nz) 
    259259        bottom = lindgen(ny)+(bottom)*ny 
    260260        IF good[0] NE -1 THEN BEGIN 
  • trunk/SRC/ToBeReviewed/TRIANGULATION/section.pro

    r370 r386  
    7373    0:localbox = [boxzoom2d, minprof, profdefault] 
    7474    1:localbox = [boxzoom2d, minprof, boxzoom[0]] 
    75     2:localbox = [boxzoom2d, boxzoom[0]] 
     75    2:localbox = [boxzoom2d, boxzoom] 
    7676    4:if strpos(type, 'z') NE -1 THEN $ 
    7777      localbox = [boxzoom2d, minprof, profdefault] ELSE localbox = boxzoom2d 
  • trunk/SRC/Utilities/routine_name.pro

    r371 r386  
    4747; 
    4848  help,  /traceback, output = name 
     49 
     50  IF !d.name EQ 'WIN' THEN BEGIN 
     51    name[0] = '% ' + name[0] 
     52    FOR i = 1, n_elements(name)-1 DO BEGIN 
     53      IF strmid(name[i], 0, 1) EQ ' ' THEN name[i] = '%' + name[i] 
     54    ENDFOR 
     55  ENDIF 
     56 
    4957  name = strtrim(name, 1)       ; we remove blanks at the beginning of lines and 
    5058;                               we put elements of the vector stuck ones with 
Note: See TracChangeset for help on using the changeset viewer.