IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 21, 2006, 11:28:31 AM (20 years ago)
Author:
magnier
Message:

vector length initialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmPeaks.c

    r6872 r6943  
    66 *  @author EAM, IfA: significant modifications.
    77 *
    8  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2006-04-17 18:01:05 $
     8 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2006-04-21 21:26:44 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    6565        tmpVector->data.F32[col] = image->data.F32[row][col];
    6666    }
     67    tmpVector->n = image->numCols;
    6768    psTrace(__func__, 4, "---- %s() end ----\n", __func__);
    6869    return(tmpVector);
     
    181182            tmpVector = psVectorAlloc(1, PS_TYPE_U32);
    182183            tmpVector->data.U32[0] = 0;
     184            tmpVector->n = 1;
    183185        } else {
    184186            tmpVector = psVectorAlloc(0, PS_TYPE_U32);
     
    220222    //
    221223    psVector *tmpVector = psVectorAlloc(count, PS_TYPE_U32);
     224    tmpVector->n = count;
    222225    count = 0;
    223226
Note: See TracChangeset for help on using the changeset viewer.