IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 27, 2004, 1:34:05 PM (22 years ago)
Author:
harman
Message:

Corrected bug in psScalarCopy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic02.c

    r1541 r1648  
    11
    2 /** @file  tst_psMatrix_02.c
     2/** @file  tst_psMatrixVectorArithmetic02.c
    33 *
    44 *  @brief Test driver for psMatrixVector arithmetic functions
     
    1010 *  @author  Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
    13  *  @date  $Date: 2004-08-14 01:31:30 $
     12 *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
     13 *  @date  $Date: 2004-08-27 23:31:29 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3737            printf("Calculated: %.2f\n", (double)(TRUTH));                                                   \
    3838        }                                                                                                    \
    39     }                                                                                                       \
     39    }                                                                                                        \
    4040}                                                                                                            \
    4141printf("\n");
     
    4545for(int i=IMAGE->numRows-1; i>-1; i--) {                                                                     \
    4646    for(int j=0; j<IMAGE->numCols; j++) {                                                                    \
    47         if(cabs(IMAGE->data.TYPE[i][j])-cabs(TRUTH) > FLT_EPSILON){                                         \
     47        if(cabs(IMAGE->data.TYPE[i][j])-cabs(TRUTH) > FLT_EPSILON){                                          \
    4848            printf("ERROR:Truth and calculated values don't match for matrix operation:\n");                 \
    4949            if(PS_IS_PSELEMTYPE_COMPLEX(IMAGE->type.type)) {                                                 \
     
    5757                printf("Calculated: %.2f\n", (double)(TRUTH));                                               \
    5858            }                                                                                                \
    59         }                                                                                                   \
     59        }                                                                                                    \
    6060    }                                                                                                        \
    6161    printf("\n");                                                                                            \
Note: See TracChangeset for help on using the changeset viewer.