IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 25, 2005, 10:28:32 AM (21 years ago)
Author:
gusciora
Message:

I renamed many of the PS_CHECK macros to PS_ASSERT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/pmSubtractBias.c

    r3583 r4030  
    66 *  @author George Gusciora, MHPCC
    77 *
    8  *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-03-31 02:02:59 $
     8 *  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-05-25 20:28:32 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    184184        // Fit a polynomial to the old overscan vector.
    185185        myPoly = (psPolynomial1D *) fitSpec;
    186         PS_POLY_CHECK_NULL(myPoly, NULL);
     186        PS_ASSERT_POLY_NON_NULL(myPoly, NULL);
    187187        myPoly = psVectorFitPolynomial1D(myPoly, NULL, overscanVector, NULL);
    188188        if (myPoly == NULL) {
     
    254254    psTrace(".psModule.pmSubtracBias.pmSubtractBias", 4,
    255255            "---- pmSubtractBias() begin ----\n");
    256     PS_READOUT_CHECK_NULL(in, NULL);
    257     PS_READOUT_CHECK_EMPTY(in, NULL);
    258     PS_READOUT_CHECK_TYPE(in, PS_TYPE_F32, NULL);
     256    PS_ASSERT_READOUT_NON_NULL(in, NULL);
     257    PS_ASSERT_READOUT_NON_EMPTY(in, NULL);
     258    PS_ASSERT_READOUT_TYPE(in, PS_TYPE_F32, NULL);
    259259
    260260    //
     
    265265        while (NULL != tmpOverscan) {
    266266            psImage *myOverscanImage = (psImage *) tmpOverscan->data;
    267             PS_IMAGE_CHECK_TYPE(myOverscanImage, PS_TYPE_F32, NULL);
     267            PS_ASSERT_IMAGE_TYPE(myOverscanImage, PS_TYPE_F32, NULL);
    268268            tmpOverscan = tmpOverscan->next;
    269269        }
     
    351351            myOverscanImage = (psImage *) tmpOverscan->data;
    352352
    353             PS_IMAGE_CHECK_TYPE(myOverscanImage, PS_TYPE_F32, NULL);
     353            PS_ASSERT_IMAGE_TYPE(myOverscanImage, PS_TYPE_F32, NULL);
    354354            psStats *rc = psImageStats(myStats, myOverscanImage, NULL, 0xffffffff);
    355355            if (rc == NULL) {
Note: See TracChangeset for help on using the changeset viewer.