IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

Changed definition of psArrayAlloc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/dettool.c

    r9711 r9735  
    278278        }
    279279    }
    280    
     280
    281281    psTime *use_begin = NULL;
    282282    {
     
    397397
    398398    // create new detInputExp row(s) from the rawDetrendExp row(s)
    399     psArray *inputExps = psArrayAlloc(psArrayLength(detrendExps));
     399    psArray *inputExps = psArrayAllocEmpty(psArrayLength(detrendExps));
    400400    for (long i = 0; i < psArrayLength(detrendExps); i++) {
    401401        detInputExpRow *inputExp = rawDetrenTodetInputExpRow(
     
    646646        }
    647647    }
    648    
     648
    649649    psTime *use_begin = NULL;
    650650    {
     
    714714
    715715    // create new detInputExp row(s) from the rawDetrendExp row(s)
    716     psArray *inputExps = psArrayAlloc(psArrayLength(detrendExps));
     716    psArray *inputExps = psArrayAllocEmpty(psArrayLength(detrendExps));
    717717    for (long i = 0; i < psArrayLength(detrendExps); i++) {
    718718        detInputExpRow *inputExp = rawDetrenTodetInputExpRow(
     
    45554555    psListIterator *iter = psListIteratorAlloc(exp_tag_list, 0, false);
    45564556    psMetadataItem *mItem = NULL;
    4557     psArray *newInputExps = psArrayAlloc(psListLength(exp_tag_list));
     4557    psArray *newInputExps = psArrayAllocEmpty(psListLength(exp_tag_list));
    45584558    while ((mItem = psListGetAndIncrement(iter))) {
    45594559        detInputExpRow *inputExp = psHashLookup(valid_exp_tags,
Note: See TracChangeset for help on using the changeset viewer.