Changeset 2204 for trunk/psLib/test/dataManip/tst_psMatrix01.c
- Timestamp:
- Oct 26, 2004, 2:57:34 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/dataManip/tst_psMatrix01.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psMatrix01.c
r1406 r2204 11 11 * @author Ross Harman, MHPCC 12 12 * 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 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 22 22 23 23 #define PRINT_MATRIX(IMAGE) \ 24 for( inti=IMAGE->numRows-1; i>-1; i--) { \25 for( intj=0; j<IMAGE->numCols; j++) { \24 for(psS32 i=IMAGE->numRows-1; i>-1; i--) { \ 25 for(psS32 j=0; j<IMAGE->numCols; j++) { \ 26 26 printf("%f ", IMAGE->data.F64[i][j]); \ 27 27 } \ … … 29 29 } 30 30 31 int main( intargc,32 char* argv[] )31 psS32 main( psS32 argc, 32 char* argv[] ) 33 33 { 34 34 psImage * tempImage = NULL; … … 79 79 psFree( outImage ); 80 80 psFree( outImageNull ); 81 intnLeaks = psMemCheckLeaks( 0, NULL, stdout );81 psS32 nLeaks = psMemCheckLeaks( 0, NULL, stdout ); 82 82 if ( nLeaks != 0 ) { 83 83 printf( "ERROR: Found %d memory leaks\n", nLeaks ); 84 84 } 85 intnBad = psMemCheckCorruption( 0 );85 psS32 nBad = psMemCheckCorruption( 0 ); 86 86 if ( nBad ) { 87 87 printf( "ERROR: Found %d bad memory blocks\n", nBad );
Note:
See TracChangeset
for help on using the changeset viewer.
