IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6506


Ignore:
Timestamp:
Mar 2, 2006, 1:16:05 PM (20 years ago)
Author:
gusciora
Message:

Modified the private function psListLength() my_psListLength() since
psList.h now has a version of this function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imsubtract/pmSubtractBias.c

    r6325 r6506  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2006-02-06 21:03:25 $
     8 *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2006-03-02 23:16:05 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    456456
    457457/******************************************************************************
    458 psListLength(list): determine the length of a psList.
     458my_psListLength(list): determine the length of a psList.
    459459 
    460460XXX: Put this elsewhere.
    461  *****************************************************************************/
    462 static psS32 psListLength(
     461 
     462XXX: psList.h now has a version of this function.  Use that instead.
     463 *****************************************************************************/
     464
     465static psS32 my_psListLength(
    463466    psList *list)
    464467{
     
    486489
    487490    // Allocate a psVector with one element per overscan image.
    488     psS32 numOverscanImages = psListLength(bias);
     491    psS32 numOverscanImages = my_psListLength(bias);
    489492    psVector *statsAll = psVectorAlloc(numOverscanImages, PS_TYPE_F32);
    490493    psListElem *tmpOverscan = (psListElem *) bias->head;
     
    653656    // vector to a single final column vector.
    654657    //
    655     psS32 numOverscanImages = psListLength(bias);
     658    psS32 numOverscanImages = my_psListLength(bias);
    656659    psVector **overscanVectors = (psVector **) psAlloc(numOverscanImages * sizeof(psVector *));
    657660    for (psS32 i = 0 ; i < numOverscanImages ; i++) {
Note: See TracChangeset for help on using the changeset viewer.