IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 17, 2008, 1:43:03 PM (18 years ago)
Author:
jhoblitt
Message:

convert assert() to psAssert()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFitsScale.c

    r17048 r17447  
    4141    )
    4242{
    43     assert(bscale);
    44     assert(bzero);
    45     assert(image);
    46     assert(options);
     43    psAssert(bscale, "impossible");
     44    psAssert(bzero, "impossible");
     45    psAssert(image, "impossible");
     46    psAssert(options, "impossible");
    4747
    4848    double range = pow(2.0, options->bitpix); // Range of values for target BITPIX
     
    101101    )
    102102{
    103     assert(bscale);
    104     assert(bzero);
    105     assert(image);
    106     assert(options);
     103    psAssert(bscale, "impossible");
     104    psAssert(bzero, "impossible");
     105    psAssert(image, "impossible");
     106    psAssert(options, "impossible");
    107107
    108108    // Measure the mean and stdev
Note: See TracChangeset for help on using the changeset viewer.