IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

Changed definition of psVectorAlloc and psArrayAlloc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/stac/src/stacCombine.c

    r8783 r9740  
    107107    psVector *deltas = psVectorAlloc(nImages, PS_TYPE_F32); // Will hold the errors in the statistics step
    108108    psVector *mask = psVectorAlloc(nImages, PS_TYPE_U8); // Will hold the mask in the statistics step
    109     pixels->n = nImages;
    110     deltas->n = nImages;
    111     mask->n = nImages;
    112109
    113110    // Set up rejection masks
     
    116113            // Allocate the rejection masks, if required
    117114            *rejected = psArrayAlloc(nImages);
    118             (*rejected)->n = nImages;
    119115        } else {
    120116            assert((*rejected)->n != nImages);
Note: See TracChangeset for help on using the changeset viewer.