IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 8, 2006, 4:49:40 PM (20 years ago)
Author:
jhoblitt
Message:

fix isfinite() attempting to be called as finite()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/stac/src/stacScales.c

    r6887 r8782  
    180180                        sum -= offsets->data.F32[i] * (float)numPix;
    181181                        photometry->data.F32[j] = sum * M_PI * aper2 / (float)numPix;
    182                         if (photometry->data.F32[j] > 0 && finite(photometry->data.F32[j])) {
     182                        if (photometry->data.F32[j] > 0 && isfinite(photometry->data.F32[j])) {
    183183                            mask->data.U8[j] = 1;
    184184                            psTrace("stac.scales", 8, "Star at %f,%f --> %f\n", coords->x, coords->y, sum);
Note: See TracChangeset for help on using the changeset viewer.