Changeset 16502 for trunk/Mars


Ignore:
Timestamp:
05/30/13 15:59:22 (11 years ago)
Author:
lyard
Message:
fixed bug with negative start cell
File:
1 edited

Legend:

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

    r16485 r16502  
    6060         for (uint32_t i=0; i<1440*1024; i+=1024, startCell++)
    6161         {
    62              if ((*startCell) > -1)
    6362             for (uint32_t j=0; j<fNumRoi; j++, data++)
     63             {
     64                 if ((*startCell) < 0) continue;
    6465                 *data += fOffsetCalibration[i + (*startCell+j)%1024];
     66             }
    6567         }
    6668    }
Note: See TracChangeset for help on using the changeset viewer.