IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 12, 2005, 12:17:02 PM (22 years ago)
Author:
desonia
Message:

added tests for some psFits functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psMatrixVectorArithmetic.c

    r2702 r2962  
    2929 *  @author Ross Harman, MHPCC
    3030 *
    31  *  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
    32  *  @date $Date: 2004-12-11 03:06:31 $
     31 *  @version $Revision: 1.34 $ $Name: not supported by cvs2svn $
     32 *  @date $Date: 2005-01-12 22:17:01 $
    3333 *
    3434 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    377377// Preprocessor macro function to create arithmetic function operation name
    378378#define BINARY_OP(DIM1,DIM2,OUT,IN1,OP,IN2)                                                                  \
    379 if(!strncmp(OP, "+", 1)) {                                                                                   \
     379if(!strncmp(OP, "=", 1)) {                                                                                   \
     380    BINARY_TYPE(DIM1,DIM2,OUT,IN1,*i2,IN2);                                                                  \
     381} else if(!strncmp(OP, "+", 1)) {                                                                            \
    380382    BINARY_TYPE(DIM1,DIM2,OUT,IN1,*i1 + *i2,IN2);                                                            \
    381383} else if(!strncmp(OP, "-", 1)) {                                                                            \
     
    384386    BINARY_TYPE(DIM1,DIM2,OUT,IN1,*i1 * *i2,IN2);                                                            \
    385387} else if(!strncmp(OP, "/", 1)) {                                                                            \
    386     BINARY_TYPE(DIM1,DIM2,OUT,IN1,*i1 / *i2,IN2);                                                    \
     388    BINARY_TYPE(DIM1,DIM2,OUT,IN1,*i1 / *i2,IN2);                                                            \
    387389} else if(!strncmp(OP, "^", 1)) {                                                                            \
    388390    if(PS_IS_PSELEMTYPE_COMPLEX(IN1->type)) {                                                                \
Note: See TracChangeset for help on using the changeset viewer.