Changeset 2204 for trunk/psLib/test/dataManip/tst_psMatrix04.c
- Timestamp:
- Oct 26, 2004, 2:57:34 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/dataManip/tst_psMatrix04.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psMatrix04.c
r1406 r2204 13 13 * @author Ross Harman, MHPCC 14 14 * 15 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $16 * @date $Date: 2004- 08-06 22:34:06$15 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2004-10-27 00:57:33 $ 17 17 * 18 18 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 24 24 25 25 #define PRINT_MATRIX(IMAGE) \ 26 for( inti=IMAGE->numRows-1; i>-1; i--) { \27 for( intj=0; j<IMAGE->numCols; j++) { \26 for(psS32 i=IMAGE->numRows-1; i>-1; i--) { \ 27 for(psS32 j=0; j<IMAGE->numCols; j++) { \ 28 28 printf("%f ", IMAGE->data.F64[i][j]); \ 29 29 } \ … … 32 32 33 33 34 int main(intargc,35 char* argv[])34 psS32 main(psS32 argc, 35 char* argv[]) 36 36 { 37 37 float det = 0.0f; … … 87 87 psFree(det2); 88 88 psMemCheckLeaks(0, NULL, stdout); 89 intnBad = psMemCheckCorruption(0);89 psS32 nBad = psMemCheckCorruption(0); 90 90 if(nBad) { 91 91 printf("ERROR: Found %d bad memory blocks\n", nBad);
Note:
See TracChangeset
for help on using the changeset viewer.
