IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 7, 2013, 11:01:36 AM (13 years ago)
Author:
bills
Message:

fix compile error due to uninitialized array

File:
1 edited

Legend:

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

    r34404 r35112  
    529529    psVector  *sigmavec = psMetadataLookupPtr (&status, recipe, "PSF.SIGMA.VALUES");
    530530
    531     float sigma[NSIGMA];
    532     float Sout[NSIGMA];
    533     float Rmin[NSIGMA];
     531    float sigma[NSIGMA] = {0,0,0,0,0,0,0};
     532    float Sout[NSIGMA] = {0,0,0,0,0,0,0};
     533    float Rmin[NSIGMA] = {0,0,0,0,0,0,0};
    534534    int   Nout[NSIGMA]; // number of stars found in clump : use this to control the number of regions measured by psphotRoughClass
    535535
Note: See TracChangeset for help on using the changeset viewer.