Changeset 227


Ignore:
Timestamp:
03/16/07 12:50:12 (17 years ago)
Author:
smasson
Message:

bugfix in path usage and calendar accuracy

Location:
trunk/SRC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Calendar/jul2date.pro

    r205 r227  
    3535        +( 10000L*year - 100L*month - day)*(year LT 0) 
    3636; 
    37   IF total([hour NE 12, min NE 0, sec NE 0]) EQ 0 THEN return, long(res) $ 
     37  IF total([hour NE 12, min NE 0, abs(sec) GE 1.e-4]) EQ 0 THEN return, long(res) $ 
    3838  ELSE return, double(res) + (hour / 24.0d0) + (min/1440.0d0) + (sec / 86400.0d0) 
    3939 
  • trunk/SRC/Utilities/createpro.pro

    r224 r227  
    7979   putfile, filename, ['pro ' + shortfilename + kwdlist $ 
    8080                       , 'compile_opt idl2, hidden, strictarrsubs', command, 'return', 'end'] 
    81 ; go in dirname directory 
    82    cd, dirname, current = old_dir 
     81; update the list of .pro and .sav in !PATH 
     82   path_cache, /rebuild 
    8383; compile it 
    8484   resolve_routine, shortfilename 
    85    cd, old_dir 
    8685; execute it 
    8786   call_procedure, shortfilename, _extra = ex 
Note: See TracChangeset for help on using the changeset viewer.