Changeset 2204 for trunk/psLib/test/dataManip/tst_psMatrix03.c
- Timestamp:
- Oct 26, 2004, 2:57:34 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/dataManip/tst_psMatrix03.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psMatrix03.c
r1406 r2204 14 14 * @author Ross Harman, MHPCC 15 15 * 16 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $17 * @date $Date: 2004- 08-06 22:34:06$16 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2004-10-27 00:57:33 $ 18 18 * 19 19 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 25 25 26 26 #define PRINT_MATRIX(IMAGE) \ 27 for( inti=IMAGE->numRows-1; i>-1; i--) { \28 for( intj=0; j<IMAGE->numCols; j++) { \27 for(psS32 i=IMAGE->numRows-1; i>-1; i--) { \ 28 for(psS32 j=0; j<IMAGE->numCols; j++) { \ 29 29 printf("%f ", IMAGE->data.F64[i][j]); \ 30 30 } \ … … 33 33 \ 34 34 #define PRINT_VECTOR(VECTOR) \ 35 for( inti=0; i<VECTOR->n; i++) { \35 for(psS32 i=0; i<VECTOR->n; i++) { \ 36 36 printf("%f\n", VECTOR->data.F64[i]); \ 37 37 } 38 38 39 39 40 int main(intargc,41 char* argv[])40 psS32 main(psS32 argc, 41 char* argv[]) 42 42 { 43 43 psImage *luImage = NULL; … … 112 112 psFree(inVector); 113 113 psMemCheckLeaks(0, NULL, stdout); 114 intnBad = psMemCheckCorruption(0);114 psS32 nBad = psMemCheckCorruption(0); 115 115 if(nBad) { 116 116 printf("ERROR: Found %d bad memory blocks\n", nBad);
Note:
See TracChangeset
for help on using the changeset viewer.
