IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2004, 2:57:34 PM (22 years ago)
Author:
desonia
Message:

converted native C types to ps Types, where practical.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/tst_psMatrix06.c

    r1406 r2204  
    1010*  @author  Ross Harman, MHPCC
    1111*
    12 *  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
    13 *  @date  $Date: 2004-08-06 22:34:06 $
     12*  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
     13*  @date  $Date: 2004-10-27 00:57:33 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2121
    2222#define PRINT_MATRIX(IMAGE)                         \
    23 for(int i=0; i<IMAGE->numRows; i++) {           \
    24     for(int j=0; j<IMAGE->numCols; j++) {       \
     23for(psS32 i=0; i<IMAGE->numRows; i++) {           \
     24    for(psS32 j=0; j<IMAGE->numCols; j++) {       \
    2525        printf("%f ", IMAGE->data.F64[i][j]);   \
    2626    }                                          \
     
    2929
    3030
    31 int main( int argc,
    32           char* argv[] )
     31psS32 main( psS32 argc,
     32            char* argv[] )
    3333{
    3434    psImage * outImage = NULL;
     
    7676    psFree( outImage );
    7777    psFree( inImage );
    78     int nLeaks = psMemCheckLeaks( 0, NULL, stdout );
     78    psS32 nLeaks = psMemCheckLeaks( 0, NULL, stdout );
    7979    if ( nLeaks != 0 ) {
    8080        printf( "ERROR: Found %d memory leaks\n", nLeaks );
    8181    }
    82     int nBad = psMemCheckCorruption( 0 );
     82    psS32 nBad = psMemCheckCorruption( 0 );
    8383    if ( nBad ) {
    8484        printf( "ERROR: Found %d bad memory blocks\n", nBad );
Note: See TracChangeset for help on using the changeset viewer.