IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 17, 2020, 12:19:25 PM (6 years ago)
Author:
eugene
Message:

make a PSF if forced photometry is requested; plug a leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/gDiff.20200202/src/gDiffCamera.c

    r41413 r41414  
    475475    if (data->forcedPhot1) {
    476476        // this pmFPAfile is used to carry sources detected in the positive image #1
    477         pmFPAfile *posSources1 = defineOutputFile(config, input, true, "GDIFF.POS1.SOURCES", PM_FPA_FILE_CMF);
     477        pmFPAfile *posSources1 = defineOutputFile(config, output, true, "GDIFF.POS1.SOURCES", PM_FPA_FILE_CMF);
    478478        if (!posSources1) {
    479479            psError(psErrorCodeLast(), false, "Unable to set up forced source file.");
     
    483483
    484484        // this pmFPAfile is used to carry sources detected in the diff image @ the positions from positive image #1
    485         pmFPAfile *frcSources1 = defineOutputFile(config, input, true, "GDIFF.FORCED1.SOURCES", PM_FPA_FILE_CMF);
     485        pmFPAfile *frcSources1 = defineOutputFile(config, output, true, "GDIFF.FORCED1.SOURCES", PM_FPA_FILE_CMF);
    486486        if (!frcSources1) {
    487487            psError(psErrorCodeLast(), false, "Unable to set up forced source file.");
Note: See TracChangeset for help on using the changeset viewer.