IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 1, 2006, 2:55:23 PM (20 years ago)
Author:
Paul Price
Message:

Addition of a vast quantity of assertions in public functions. Adopted a policy of using assert() within file-static functions (since they are only called internally, any errors there are problems with the program) and using the PS_ASSERT_WHATEVER() macros within public functions. Cleaned a few things up in the process.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmFlatNormalize.c

    r7179 r7278  
    1515                         )
    1616{
     17    PS_ASSERT_PTR_NON_NULL(chipGains, NULL);
     18    PS_ASSERT_PTR_NON_NULL(fluxLevels, NULL);
     19
    1720    int numSources = fluxLevels->numRows; // Number of integrations
    1821    int numChips = fluxLevels->numCols; // Number of chips with which each integration is made
Note: See TracChangeset for help on using the changeset viewer.