IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1244


Ignore:
Timestamp:
Jul 20, 2004, 10:51:22 AM (22 years ago)
Author:
harman
Message:

Fixes for missing Macintosh libraries

File:
1 edited

Legend:

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

    r1149 r1244  
    2929 *  @author Ross Harman, MHPCC
    3030 *
    31  *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
    32  *  @date $Date: 2004-06-30 20:06:41 $
     31 *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
     32 *  @date $Date: 2004-07-20 20:51:22 $
    3333 *
    3434 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    612612        UNARY_TYPE(DIM,OUT,IN,cpow(10.0,*i1));                                                               \
    613613    } else {                                                                                                 \
    614         UNARY_TYPE(DIM,OUT,IN,exp10(*i1));                                                                   \
     614        UNARY_TYPE(DIM,OUT,IN,pow(10.0,*i1));                                                                \
    615615    }                                                                                                        \
    616616} else if(!strncmp(OP, "log", 3)) {                                                                          \
    617617    if(PS_IS_PSELEMTYPE_COMPLEX(IN->type)) {                                                                 \
    618         UNARY_TYPE(DIM,OUT,IN,clog10(*i1));                                                                  \
     618        UNARY_TYPE(DIM,OUT,IN,log10(cabs(*i1)+carg(*i1)*I));                                                 \
    619619    } else {                                                                                                 \
    620620        UNARY_TYPE(DIM,OUT,IN,log10(*i1));                                                                   \
Note: See TracChangeset for help on using the changeset viewer.