Changeset 16815 for trunk/Mars/mcore


Ignore:
Timestamp:
06/12/13 15:56:54 (11 years ago)
Author:
lyard
Message:
replaced compression enum handling
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/fits.h

    r16495 r16815  
    7373    typedef enum
    7474    {
    75         UNCOMPRESSED,
    76         SMOOTHMAN
     75        UNKNOWN,
     76        FACT
    7777    } FitsCompression;
    7878
     
    304304                const string comp = Get<string>("ZCTYP"+num.str(), "");
    305305
    306                 FitsCompression compress = UNCOMPRESSED;
    307                 if (comp == "SMOO")
    308                     compress = SMOOTHMAN;
     306                FitsCompression compress = UNKNOWN;
     307                if (comp == "FACT")
     308                    compress = FACT;
    309309
    310310                istringstream sin(fmt);
Note: See TracChangeset for help on using the changeset viewer.