IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32868


Ignore:
Timestamp:
Dec 5, 2011, 11:46:06 AM (15 years ago)
Author:
mhuber
Message:

matchKernel needed a fail/fault condition check

File:
1 edited

Legend:

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

    r32348 r32868  
    101101    // Image Matching (PSFs or just flux)
    102102    if (options->convolve) {
    103         matchKernel(config, readoutOut, readoutSrc, options, index);
     103        if (!matchKernel(config, readoutOut, readoutSrc, options, index)){
     104            psError(psErrorCodeLast(), false, "Unable to match image PSF in readout.");
     105            return false;
     106        }
    104107        saveMatchData(readoutOut, options, index);
    105108    }
Note: See TracChangeset for help on using the changeset viewer.