Changeset 41659
- Timestamp:
- Jun 8, 2021, 4:03:30 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroFindChipGPC.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroFindChipGPC.c
r41609 r41659 26 26 static psImage *chipCenters = NULL; 27 27 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: 33 static double XminFPA = +FLT_MAX; 34 static double YminFPA = +FLT_MAX; 33 35 static double xInvScale = NAN; 34 36 static double yInvScale = NAN; … … 41 43 chipYmax = psVectorAlloc (fpa->chips->n, PS_TYPE_F32); 42 44 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 44 49 double XmaxFPA = -FLT_MAX; 45 double YminFPA = +FLT_MAX;46 50 double YmaxFPA = -FLT_MAX; 47 51
Note:
See TracChangeset
for help on using the changeset viewer.
