IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15143


Ignore:
Timestamp:
Sep 30, 2007, 1:33:34 PM (19 years ago)
Author:
eugene
Message:

check for error floor until we pass NAN bins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotApResid.c

    r15078 r15143  
    270270
    271271    *errorScale = stats->sampleMedian;
    272     *errorFloor = dSo->data.F32[0];
     272    for (int i = 0; i < dSo->n; i++) {
     273        *errorFloor = dSo->data.F32[i];
     274        if (isfinite(*errorFloor)) break;
     275    }
    273276
    274277    psFree (stats);
Note: See TracChangeset for help on using the changeset viewer.