IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40430 for trunk/psModules


Ignore:
Timestamp:
May 15, 2018, 11:03:37 AM (8 years ago)
Author:
eugene
Message:

init variables xBin, yBin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmAstrometryObjects.c

    r40083 r40430  
    10621062    double dX, dY;   // offset between a possible matched pair
    10631063    psArray *rot;
    1064     int nBin, xBin, yBin;
     1064    int xBin = 0, yBin = 0;
    10651065
    10661066    rot = pmAstromRotateObj (raw, stats->center, stats->angle, stats->scale);
     
    10771077    double photomWindowFactor = photomWindowApply ? -0.5/PS_SQR(photomWindowSigma) : 0.0;
    10781078
    1079     nBin = 2*tweakRange / tweakScale;
     1079    int nBin = 2*tweakRange / tweakScale;
    10801080    psVector *xHist = psVectorAlloc (nBin, PS_TYPE_F32);
    10811081    psVector *yHist = psVectorAlloc (nBin, PS_TYPE_F32);
Note: See TracChangeset for help on using the changeset viewer.