IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 11, 2014, 9:50:26 AM (12 years ago)
Author:
bills
Message:

Fix segv in debug code. ifdef said code out

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmPSFtryFitPSF.c

    r36623 r36658  
    125125
    126126    if (Npsf == 0) {
     127#if 0
    127128        // DEBUG code: save the PSF model fit data in detail
    128129
     
    143144
    144145            pmSource *source = psfTry->sources->data[i];
     146
     147            if (!source->modelPSF) continue;
    145148
    146149            float par7 = (source->modelPSF->params->n == 7) ? -100 : source->modelPSF->params->data.F32[PM_PAR_7];
     
    155158        }
    156159        fclose (f);
    157 
     160#endif
    158161        psError(PS_ERR_UNKNOWN, false, "No sources with good PSF fits after model is built.");
    159162        return false;
Note: See TracChangeset for help on using the changeset viewer.