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_psMatrix05.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;
     
    6868    psFree( inImage1 );
    6969    psFree( inImage2 );
    70     int nLeaks = psMemCheckLeaks( 0, NULL, stdout );
     70    psS32 nLeaks = psMemCheckLeaks( 0, NULL, stdout );
    7171    if ( nLeaks != 0 ) {
    7272        printf( "ERROR: Found %d memory leaks\n", nLeaks );
    7373    }
    74     int nBad = psMemCheckCorruption( 0 );
     74    psS32 nBad = psMemCheckCorruption( 0 );
    7575    if ( nBad ) {
    7676        printf( "ERROR: Found %d bad memory blocks\n", nBad );
Note: See TracChangeset for help on using the changeset viewer.