IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

Changed definition of psVectorAlloc and psArrayAlloc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeScaleZero.c

    r9541 r9737  
    164164    if (options->scale) {
    165165        gains = psVectorAlloc(data->numCells, PS_TYPE_F32);
    166         gains->n = data->numCells;
    167166    }
    168167    if (options->darktime) {
     
    246245                    int sampleSize = (image->numCols * image->numRows) / options->sample; // Size of sample
    247246                    psVector *sample = psVectorAlloc(sampleSize, PS_TYPE_F32); // Sample of the image
    248                     sample->n = sampleSize;
    249247                    psVector *sampleMask = NULL; // Mask for sample
    250248                    if (readout->mask) {
    251249                        sampleMask = psVectorAlloc(sampleSize, PS_TYPE_U8);
    252                         sampleMask->n = sampleSize;
    253250                    }
    254251                    psImage *mask = readout->mask; // The mask image
Note: See TracChangeset for help on using the changeset viewer.