IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26395


Ignore:
Timestamp:
Dec 13, 2009, 4:32:23 PM (16 years ago)
Author:
eugene
Message:

handle case of no peaks in psf clump image

File:
1 edited

Legend:

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

    r25754 r26395  
    411411
    412412        // if we failed to find a valid peak, return the empty clump (failure signal)
    413         if (peaks == NULL)
    414         {
     413        if (!peaks || !peaks->n) {
    415414            psLogMsg ("psphot", 3, "failed to find a peak in the PSF clump image\n");
    416415            if (nValid == 0) {
Note: See TracChangeset for help on using the changeset viewer.