IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 18, 2005, 2:30:07 PM (21 years ago)
Author:
evanalst
Message:

Update psVectorToMatrix to work for type psF32.

File:
1 edited

Legend:

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

    r3264 r3290  
    2121 *  @author Robert DeSonia, MHPCC
    2222 *
    23  *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
    24  *  @date $Date: 2005-02-17 19:26:23 $
     23 *  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
     24 *  @date $Date: 2005-02-19 00:30:07 $
    2525 *
    2626 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    588588        PS_CHECK_DIMEN_AND_TYPE(inVector, PS_DIMEN_VECTOR, outImage);
    589589        PS_VECTOR_CHECK_EMPTY(inVector, outImage);
    590         outImage = psImageRecycle(outImage, 1, inVector->n, PS_TYPE_F64);
     590        outImage = psImageRecycle(outImage, 1, inVector->n, inVector->type.type);
    591591        // More checks for PS_DIMEN_VECTOR
    592592        if (outImage->numCols > 1) {
     
    607607        PS_CHECK_DIMEN_AND_TYPE(inVector, PS_DIMEN_TRANSV, outImage);
    608608        PS_VECTOR_CHECK_EMPTY(inVector, outImage);
    609         outImage = psImageRecycle(outImage, inVector->n, 1, PS_TYPE_F64);
     609        outImage = psImageRecycle(outImage, inVector->n, 1, inVector->type.type);
    610610        // More checks for PS_DIMEN_TRANSV
    611611        if (outImage->numRows > 1) {
Note: See TracChangeset for help on using the changeset viewer.