IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14534


Ignore:
Timestamp:
Aug 16, 2007, 10:45:04 AM (19 years ago)
Author:
Paul Price
Message:

Fixing compilation errors.

File:
1 edited

Legend:

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

    r14533 r14534  
    307307{
    308308    PS_ASSERT_ARRAY_NON_NULL(stamps, false);
    309     PS_ASSERT_FLOAT_LARGER_THAN(sigma, 0.0, false);
     309    PS_ASSERT_FLOAT_LARGER_THAN(fwhm, 0.0, false);
    310310    PS_ASSERT_INT_NONNEGATIVE(footprint, false);
    311311
    312312    int size = kernels->size + footprint; // Size of postage stamps
    313313    int num = stamps->n;                // Number of stamps
    314     float sigma = fwhm / (2.0 * sqrtf(2.0 * ln(2.0))); // Gaussian sigma
     314    float sigma = fwhm / (2.0 * sqrtf(2.0 * log(2.0))); // Gaussian sigma
    315315
    316316    for (int i = 0; i < num; i++) {
Note: See TracChangeset for help on using the changeset viewer.