IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 21, 2004, 9:37:12 AM (22 years ago)
Author:
evanalst
Message:

Changed the valid types to psS8 from psS32 and psU16 from psU32 as defined
in SDR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psStats.c

    r1823 r1838  
    99 *  @author George Gusciora, MHPCC
    1010 *
    11  *  @version $Revision: 1.55 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-09-17 02:14:52 $
     11 *  @version $Revision: 1.56 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-09-21 19:37:12 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    17761776    psVector* tmp = NULL;
    17771777
    1778     if (in->type.type == PS_TYPE_S32) {
     1778    if (in->type.type == PS_TYPE_S8) {
    17791779        tmp = psVectorAlloc(in->n, PS_TYPE_F32);
    17801780        for (i = 0; i < in->n; i++) {
    17811781            tmp->data.F32[i] = (float)in->data.S32[i];
    17821782        }
    1783     } else if (in->type.type == PS_TYPE_U32) {
     1783    } else if (in->type.type == PS_TYPE_U16) {
    17841784        tmp = psVectorAlloc(in->n, PS_TYPE_F32);
    17851785        for (i = 0; i < in->n; i++) {
Note: See TracChangeset for help on using the changeset viewer.