IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41701


Ignore:
Timestamp:
Jul 7, 2021, 4:58:50 PM (5 years ago)
Author:
eugene
Message:

check in changes from trunk: bug fix to unused function (find chips in gpc1)

Location:
tags/ipp-ps1-20210510/psastro
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-ps1-20210510/psastro

  • tags/ipp-ps1-20210510/psastro/src/psastroFindChipGPC.c

    r41652 r41701  
    2626static psImage *chipCenters = NULL;
    2727
    28 static double XminFPA = +FLT_MAX;
    29 static double XmaxFPA = -FLT_MAX;
    30 static double YminFPA = +FLT_MAX;
    31 static double YmaxFPA = -FLT_MAX;
    32 
     28// XXX these should not be defined as global (only used in psastroChipBoundsGPC)
     29// static double XmaxFPA = -FLT_MAX;
     30// static double YmaxFPA = -FLT_MAX;
     31
     32// these are used in gsastroFindChipGPC to find the chip match:
     33static double XminFPA   = +FLT_MAX;
     34static double YminFPA   = +FLT_MAX;
    3335static double xInvScale = NAN;
    3436static double yInvScale = NAN;
     
    4143    chipYmax = psVectorAlloc (fpa->chips->n, PS_TYPE_F32);
    4244
    43     double XminFPA = +FLT_MAX;
     45    // XXX these should not be declared local (override the global values)
     46    // double XminFPA = +FLT_MAX;
     47    // double YminFPA = +FLT_MAX;
     48
    4449    double XmaxFPA = -FLT_MAX;
    45     double YminFPA = +FLT_MAX;
    4650    double YmaxFPA = -FLT_MAX;
    4751
Note: See TracChangeset for help on using the changeset viewer.