IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 22, 2011, 2:28:08 PM (15 years ago)
Author:
eugene
Message:

handle bad kron radius

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtractionStamps.c

    r30622 r30739  
    913913        psFree (norm2);
    914914        return false;
     915    }
     916
     917    if (!isfinite(R1) || !isfinite(R2)) {
     918        psError(PM_ERR_STAMPS, true, "Kron Radii are not finite (failure to converge).");
     919        psFree (stats);
     920        psFree (flux1);
     921        psFree (flux2);
     922        psFree (norm1);
     923        psFree (norm2);
     924        return false;
    915925    }
    916926
Note: See TracChangeset for help on using the changeset viewer.