IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 27, 2007, 9:05:13 AM (19 years ago)
Author:
eugene
Message:

asserts to PS_ASSERTs

File:
1 edited

Legend:

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

    r12592 r12601  
    1313    pmSourceMagnitudesInit (recipe);
    1414
    15     // XXX require (assert) that we have a background model, or
     15    // XXX require that we have a background model, or
    1616    // allow it to be missing, setting local sky to 0.0?
    17 
    18     // Get enough information to return sky level
    19     assert(background != NULL);
     17    PS_ASSERT (background, false);
    2018
    2119    // the binning details are saved on the analysis metadata
    2220    psImageBinning *binning = psMetadataLookupPtr(&status, recipe, "PSPHOT.BACKGROUND.BINNING");
    23     assert (status == true);
     21    PS_ASSERT (status, false);
    2422
    2523    bool IGNORE_GROWTH = psMetadataLookupBool (&status, recipe, "IGNORE_GROWTH");
Note: See TracChangeset for help on using the changeset viewer.