IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 23, 2005, 11:18:12 AM (20 years ago)
Author:
gusciora
Message:

I added significantl to the tests for alloc/free of the pm FPA, chip, cell,
readout data structures. I now fill each struct with real data in the test to
ensure they are being free'ed properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psConstants.h

    r5517 r5586  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.79 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-11-15 20:10:32 $
     8 *  @version $Revision: 1.80 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-11-23 21:18:12 $
    1010 *
    1111 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    592592
    593593#define PS_POLY_PRINT_1D(NAME) \
    594 for (psS32 i = 0 ; i < NAME->nX ; i++) {\
     594for (psS32 i = 0 ; i < NAME->nX+1 ; i++) {\
    595595    printf("%s->coeff[%d] is %f\n", #NAME, i, NAME->coeff[i]); \
     596}\
     597
     598#define PS_POLY_PRINT_2D(NAME) \
     599for (psS32 i = 0 ; i < NAME->nX+1 ; i++) {\
     600    for (psS32 j = 0 ; j < NAME->nY+1 ; j++) {\
     601        printf("%s->coeff[%d][%d] is %f\n", #NAME, i, j, NAME->coeff[i][j]); \
     602    }\
    596603}\
    597604
Note: See TracChangeset for help on using the changeset viewer.