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/psphotSourceFits.c

    r9595 r9734  
    2121    y = PSF->params->data.F32[3];
    2222
    23     psArray *modelSet = psArrayAlloc (source->blends->n + 1);
     23    psArray *modelSet = psArrayAllocEmpty (source->blends->n + 1);
    2424    psArrayAdd (modelSet, 16, PSF);
    2525
    26     psArray *sourceSet = psArrayAlloc (source->blends->n + 1);
     26    psArray *sourceSet = psArrayAllocEmpty (source->blends->n + 1);
    2727    psArrayAdd (sourceSet, 16, source);
    2828
     
    300300
    301301    modelSet = psArrayAlloc (2);
    302     modelSet->n = 2;
    303302
    304303    DBL = pmModelCopy (PSF);
Note: See TracChangeset for help on using the changeset viewer.