IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 20, 2004, 7:21:55 PM (22 years ago)
Author:
eugene
Message:

allowing bad FITS to use single quotes in numerical values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libfits/header/F_scan.c

    r2415 r2766  
    7373  /* remaining options are numerical data */
    7474  /* need to interpret 1.0d5 as 1.0e5 */
     75  if (p[10] == 0x27) p++;  /** skip over initial ' (SOME BAD sources write floats with '') **/
    7576  value = strtod (p + 10, &q);
    7677  if ((*q == 'd') || (*q == 'D'))
Note: See TracChangeset for help on using the changeset viewer.