IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 24, 2006, 2:07:03 PM (20 years ago)
Author:
Paul Price
Message:

Changed definition of psVectorAlloc and psArrayAlloc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotEnsemblePSF.c

    r9595 r9734  
    2727
    2828    // pre-calculate all model pixels
    29     psArray  *models = psArrayAlloc (sources->n);
    30     psVector *index  = psVectorAlloc (sources->n, PS_TYPE_U32);
     29    psArray  *models = psArrayAllocEmpty (sources->n);
     30    psVector *index  = psVectorAllocEmpty (sources->n, PS_TYPE_U32);
    3131    // DROP models->n = index->n = 0;
    3232
     
    141141    psSparse *sparse = psSparseAlloc (models->n, 100);
    142142    psVector *weight = psVectorAlloc (models->n, PS_TYPE_F32);
    143     weight->n = models->n;
    144143
    145144    for (int i = 0; i < models->n; i++) {
Note: See TracChangeset for help on using the changeset viewer.