IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32707


Ignore:
Timestamp:
Nov 18, 2011, 11:30:11 AM (14 years ago)
Author:
bills
Message:

change assertion failure for 'upper limit does not include max flux' to a warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmFootprintCullPeaks.c

    r32347 r32707  
    118118            threshbounds->data.F32[i] = 0.25*beta2*PS_SQR(i) + min_threshold;       
    119119        }
    120         psAssert(threshbounds->data.F32[threshbounds->n-1] > maxFlux, "upper limit does not include max flux");
     120        if (threshbounds->data.F32[threshbounds->n-1] > maxFlux) {
     121            psWarning ("upper limit: %f does not include max flux: %f",
     122                    threshbounds->data.F32[threshbounds->n-1], maxFlux);
     123        }
    121124
    122125        psHistogram *threshist = psHistogramAllocGeneric(threshbounds);
Note: See TracChangeset for help on using the changeset viewer.