IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34372


Ignore:
Timestamp:
Aug 30, 2012, 2:00:54 PM (14 years ago)
Author:
bills
Message:

when rejecting an image based on chi2 threshold, reject inputs with nan

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackConvolve.c

    r34089 r34372  
    403403                    continue;
    404404                }
    405                 if (options->matchChi2->data.F32[i] > thresh) {
     405                if ((options->matchChi2->data.F32[i] > thresh) || ! isfinite(options->matchChi2->data.F32[i])) {
    406406                    numRej++;
    407407                    options->inputMask->data.PS_TYPE_VECTOR_MASK_DATA[i] |= PPSTACK_MASK_CHI2;
Note: See TracChangeset for help on using the changeset viewer.