IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 6, 2015, 7:55:16 AM (11 years ago)
Author:
eugene
Message:

direct copy if bscale,bzero = 1,0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20150429/src/libfits/table/F_compress_T.c

    r38399 r38404  
    149149
    150150
    151     // RICE can only be used on integer fields
     151    // OVERRIDE: RICE can only be used on integer fields
    152152    if (!strcasecmp (fields[i].zctype, "RICE_1") || !strcasecmp (fields[i].zctype, "RICE_ONE")) {
    153       if (!strcmp (fields[i].datatype, "float") || !strcmp (fields[i].datatype, "double")) {
     153      if (!strcmp (fields[i].datatype, "float") || !strcmp (fields[i].datatype, "double") || !strcmp (fields[i].datatype, "int64_t")) {
    154154        strcpy (fields[i].zctype, "GZIP_2");
    155155      }
Note: See TracChangeset for help on using the changeset viewer.