IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14835


Ignore:
Timestamp:
Sep 14, 2007, 2:46:00 PM (19 years ago)
Author:
Paul Price
Message:

Check that a list of sources is provided, if required.

File:
1 edited

Legend:

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

    r14805 r14835  
    128128            PS_ASSERT_IMAGES_SIZE_EQUAL(input->weight, reference->image, false);
    129129        }
     130    } else if (!stampsName && !sources) {
     131        psError(PS_ERR_UNEXPECTED_NULL, true,
     132                "A list of sources is required for convolving to a target PSF.");
     133        return false;
    130134    }
    131135    PS_ASSERT_INT_NONNEGATIVE(footprint, false);
Note: See TracChangeset for help on using the changeset viewer.