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

    r8783 r9740  
    2929    // Make fake errors
    3030    psArray *errors = psArrayAlloc(images->n);
    31     errors->n = images->n;
    3231    for (int i = 0; i < images->n; i++) {
    3332        psImage *image = images->data[i];
     
    4948    psVector *saturated = psVectorAlloc(images->n, PS_TYPE_F32); // Saturation limits
    5049    psVector *bad = psVectorAlloc(images->n, PS_TYPE_F32); // Bad limits
    51     saturated->n = images->n;
    52     bad->n = images->n;
    5350    for (int i = 0; i < images->n; i++) {
    5451        saturated->data.F32[i] = (config->saturated - offsets->data.F32[i]) / scales->data.F32[i];
Note: See TracChangeset for help on using the changeset viewer.