IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37468


Ignore:
Timestamp:
Oct 8, 2014, 3:27:21 PM (12 years ago)
Author:
mhuber
Message:

reads in table with flags as U64, then needs to stay U64 or oddness ensues..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppTranslate/src/ppMopsRead.c

    r37375 r37468  
    242242    long numGood = 0;               // Number of good rows
    243243    for (long row = 0; row < size; row++) {
    244       psU32 flags = flagsV->data.U32[row]; // psFitsTableGetU32(NULL, table, row, "FLAGS");
     244      //psU32 flags = flagsV->data.U32[row]; // psFitsTableGetU32(NULL, table, row, "FLAGS");
     245      psU64 flags = flagsV->data.U64[row]; // table reads in as U64
    245246      if (flags & SOURCE_MASK) {
    246         psTrace("ppMops.read", 10, "Discarding row %ld from input %d because of flags: %ud", row, i, flags);
     247        psTrace("ppMops.read", 10, "Discarding row %ld from input %d because of flags: %lud", row, i, flags);
    247248        det->mask->data.U8[row] = 0xFF;
    248249        continue;
Note: See TracChangeset for help on using the changeset viewer.