IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 10, 2004, 2:16:38 PM (22 years ago)
Author:
harman
Message:

Added support for psF32 types

File:
1 edited

Legend:

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

    r2671 r2697  
    2020 *  @author Ross Harman, MHPCC
    2121 *
    22  *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
    23  *  @date $Date: 2004-12-09 20:51:16 $
     22 *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
     23 *  @date $Date: 2004-12-11 00:16:38 $
    2424 *
    2525 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    102102    for(i=0; i<n; i++) {
    103103        if(inVector->type.type == PS_TYPE_F32) {
    104             outGslVector->data[i] = (psS32)inVector->data.F32[i];
     104            outGslVector->data[i] = (psF64)inVector->data.F32[i];
    105105        } else {
    106106            outGslVector->data[i] = inVector->data.F64[i];
     
    140140        for(j=0; j<numCols; j++) {
    141141            if(inImage->type.type == PS_TYPE_F32) {
    142                 outGslMatrix->data[i*numCols+j] = (psS32)inImage->data.F32[i][j];
     142                outGslMatrix->data[i*numCols+j] = (psF64)inImage->data.F32[i][j];
    143143            } else {
    144144                outGslMatrix->data[i*numCols+j] = inImage->data.F64[i][j];
Note: See TracChangeset for help on using the changeset viewer.