IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2702


Ignore:
Timestamp:
Dec 10, 2004, 5:06:31 PM (22 years ago)
Author:
evanalst
Message:

Fix problems with scalar operations.

File:
1 edited

Legend:

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

    r2692 r2702  
    2929 *  @author Ross Harman, MHPCC
    3030 *
    31  *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
    32  *  @date $Date: 2004-12-10 21:37:37 $
     31 *  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
     32 *  @date $Date: 2004-12-11 03:06:31 $
    3333 *
    3434 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8080    ps##TYPE *i1 = NULL;                                                                                     \
    8181    ps##TYPE *i2 = NULL;                                                                                     \
    82     npt  = ((psVector* )IN1)->n;                                                                             \
     82    npt  = ((psVector* )IN2)->n;                                                                             \
    8383    o  = ((psVector* )OUT)->data.TYPE;                                                                       \
    8484    i1 = &((psScalar* )IN1)->data.TYPE;                                                                      \
     
    9898    ps##TYPE *i1 = NULL;                                                                                     \
    9999    ps##TYPE *i2 = NULL;                                                                                     \
    100     numRows = ((psImage* )IN1)->numRows;                                                                     \
    101     numCols = ((psImage* )IN1)->numCols;                                                                     \
     100    numRows = ((psImage* )IN2)->numRows;                                                                     \
     101    numCols = ((psImage* )IN2)->numCols;                                                                     \
    102102    for(j = 0; j < numCols; j++) {                                                                           \
    103103        o  = ((psImage* )OUT)->data.TYPE[j];                                                                 \
Note: See TracChangeset for help on using the changeset viewer.