IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 20, 2004, 2:09:11 PM (22 years ago)
Author:
harman
Message:

Updated for Macintosh compatibility

File:
1 edited

Legend:

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

    r1245 r1246  
    2929 *  @author Ross Harman, MHPCC
    3030 *
    31  *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
    32  *  @date $Date: 2004-07-20 20:57:30 $
     31 *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
     32 *  @date $Date: 2004-07-21 00:09:11 $
    3333 *
    3434 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    615615} else if(!strncmp(OP, "log", 3)) {                                                                          \
    616616    if(PS_IS_PSELEMTYPE_COMPLEX(IN->type)) {                                                                 \
    617         UNARY_TYPE(DIM,OUT,IN,log10(cabs(*i1)+carg(*i1)*I));                                                 \
     617        UNARY_TYPE(DIM,OUT,IN,clog(*i1)/log(10.0));                                                 \
    618618    } else {                                                                                                 \
    619619        UNARY_TYPE(DIM,OUT,IN,log10(*i1));                                                                   \
Note: See TracChangeset for help on using the changeset viewer.