IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1246


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

Updated for Macintosh compatibility

Location:
trunk/psLib
Files:
3 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));                                                                   \
  • trunk/psLib/test/dataManip/verified/tst_psMatrixVectorArithmetic02.stdout

    r1135 r1246  
    15521552
    15531553Output:
    1554 44 44
    1555 44 44
    1556 44 44
     155445 45
     155545 45
     155645 45
    15571557
    15581558
     
    31843184
    31853185Output:
    3186 44
    3187 44
    3188 44
     318645
     318745
     318845
    31893189
    31903190
  • trunk/psLib/test/dataManip/verified/tst_psMatrixVectorArithmetic03.stderr

    r1198 r1246  
    1  <DATE> <TIME> |<HOST>|E|     psBinaryOp|: Line 404 - Null out argument
    2  <DATE> <TIME> |<HOST>|E|     psBinaryOp|: Line 410 - Null in1 argument
    3  <DATE> <TIME> |<HOST>|E|     psBinaryOp|: Line 416 - Null in2 argument
    4  <DATE> <TIME> |<HOST>|E|     psBinaryOp|: Line 421 - Null op argument
    5  <DATE> <TIME> |<HOST>|E|      psUnaryOp|: Line 709 - Null out argument
    6  <DATE> <TIME> |<HOST>|E|      psUnaryOp|: Line 715 - Null in argument
    7  <DATE> <TIME> |<HOST>|E|      psUnaryOp|: Line 720 - Null op argument
    8  <DATE> <TIME> |<HOST>|E|     psBinaryOp|: Line 433 - Element types for arguments inconsistent: (1028, 1032, 1032)
    9  <DATE> <TIME> |<HOST>|E|      psUnaryOp|: Line 730 - Element types for arguments inconsistent: (1028, 1032)
     1 <DATE> <TIME> |<HOST>|E|     psBinaryOp|: Line 403 - Null out argument
     2 <DATE> <TIME> |<HOST>|E|     psBinaryOp|: Line 409 - Null in1 argument
     3 <DATE> <TIME> |<HOST>|E|     psBinaryOp|: Line 415 - Null in2 argument
     4 <DATE> <TIME> |<HOST>|E|     psBinaryOp|: Line 420 - Null op argument
     5 <DATE> <TIME> |<HOST>|E|      psUnaryOp|: Line 708 - Null out argument
     6 <DATE> <TIME> |<HOST>|E|      psUnaryOp|: Line 714 - Null in argument
     7 <DATE> <TIME> |<HOST>|E|      psUnaryOp|: Line 719 - Null op argument
     8 <DATE> <TIME> |<HOST>|E|     psBinaryOp|: Line 432 - Element types for arguments inconsistent: (1028, 1032, 1032)
     9 <DATE> <TIME> |<HOST>|E|      psUnaryOp|: Line 729 - Element types for arguments inconsistent: (1028, 1032)
    1010 <DATE> <TIME> |<HOST>|E|     psBinaryOp|: Inconsistent element count: numRows: 2 vs 3 numCols: 2 vs 3
    1111 <DATE> <TIME> |<HOST>|E|      psUnaryOp|: Inconsistent element count: numRows: 2 vs 3 numCols: 2 vs 3
    1212 <DATE> <TIME> |<HOST>|E|     psBinaryOp|: Inconsistent element count: 2 vs 3
    1313 <DATE> <TIME> |<HOST>|E|     psBinaryOp|: Inconsistent element count: 2 vs 3
    14  <DATE> <TIME> |<HOST>|E|      psUnaryOp|: Line 736 - Dimensionality for arguments inconsistent: (1, 3)
     14 <DATE> <TIME> |<HOST>|E|      psUnaryOp|: Line 735 - Dimensionality for arguments inconsistent: (1, 3)
    1515 <DATE> <TIME> |<HOST>|E|       psNanDiv|: Divide by zero
    1616 <DATE> <TIME> |<HOST>|E|       psNanDiv|: Divide by zero
Note: See TracChangeset for help on using the changeset viewer.