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_psMatrix01.c

    r1406 r2204  
    1111*  @author  Ross Harman, MHPCC
    1212*
    13 *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
    14 *  @date  $Date: 2004-08-06 22:34:06 $
     13*  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
     14*  @date  $Date: 2004-10-27 00:57:33 $
    1515*
    1616*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2222
    2323#define PRINT_MATRIX(IMAGE)                         \
    24 for(int i=IMAGE->numRows-1; i>-1; i--) {        \
    25     for(int j=0; j<IMAGE->numCols; j++) {       \
     24for(psS32 i=IMAGE->numRows-1; i>-1; i--) {        \
     25    for(psS32 j=0; j<IMAGE->numCols; j++) {       \
    2626        printf("%f ", IMAGE->data.F64[i][j]);   \
    2727    }                                          \
     
    2929}
    3030
    31 int main( int argc,
    32           char* argv[] )
     31psS32 main( psS32 argc,
     32            char* argv[] )
    3333{
    3434    psImage * tempImage = NULL;
     
    7979    psFree( outImage );
    8080    psFree( outImageNull );
    81     int nLeaks = psMemCheckLeaks( 0, NULL, stdout );
     81    psS32 nLeaks = psMemCheckLeaks( 0, NULL, stdout );
    8282    if ( nLeaks != 0 ) {
    8383        printf( "ERROR: Found %d memory leaks\n", nLeaks );
    8484    }
    85     int nBad = psMemCheckCorruption( 0 );
     85    psS32 nBad = psMemCheckCorruption( 0 );
    8686    if ( nBad ) {
    8787        printf( "ERROR: Found %d bad memory blocks\n", nBad );
Note: See TracChangeset for help on using the changeset viewer.