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_psMatrix04.c

    r1406 r2204  
    1313 *  @author  Ross Harman, MHPCC
    1414 *
    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 $
    1717 *
    1818 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2424
    2525#define PRINT_MATRIX(IMAGE)                         \
    26 for(int i=IMAGE->numRows-1; i>-1; i--) {            \
    27     for(int j=0; j<IMAGE->numCols; j++) {           \
     26for(psS32 i=IMAGE->numRows-1; i>-1; i--) {            \
     27    for(psS32 j=0; j<IMAGE->numCols; j++) {           \
    2828        printf("%f ", IMAGE->data.F64[i][j]);       \
    2929    }                                               \
     
    3232
    3333
    34 int main(int argc,
    35          char* argv[])
     34psS32 main(psS32 argc,
     35           char* argv[])
    3636{
    3737    float det = 0.0f;
     
    8787    psFree(det2);
    8888    psMemCheckLeaks(0, NULL, stdout);
    89     int nBad = psMemCheckCorruption(0);
     89    psS32 nBad = psMemCheckCorruption(0);
    9090    if(nBad) {
    9191        printf("ERROR: Found %d bad memory blocks\n", nBad);
Note: See TracChangeset for help on using the changeset viewer.