IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 23, 2005, 2:19:51 PM (21 years ago)
Author:
desonia
Message:

changed psMatrix tests so that functions return NULL on error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/image/psImageExtraction.c

    r3309 r3313  
    99 *  @author Robert DeSonia, MHPCC
    1010 *
    11  *  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-02-23 21:32:40 $
     11 *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-02-24 00:19:51 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    556556    psF32* cutRowsData = NULL;
    557557    if (cutCols != NULL) {
    558         (void)psVectorRecycle(cutCols, nSamples, PS_TYPE_F32);
     558        cutCols = psVectorRecycle(cutCols, nSamples, PS_TYPE_F32);
    559559        cutColsData = cutCols->data.F32;
    560560    }
    561561    if (cutRows != NULL) {
    562         (void)psVectorRecycle(cutRows, nSamples, PS_TYPE_F32);
     562        cutRows = psVectorRecycle(cutRows, nSamples, PS_TYPE_F32);
    563563        cutRowsData = cutRows->data.F32;
    564564    }
Note: See TracChangeset for help on using the changeset viewer.