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