IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 10, 2010, 11:24:28 AM (16 years ago)
Author:
watersc1
Message:

Backport of psVectorInit "parameter is NULL" bugfix from my branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageMosaic.c

    r28263 r28292  
    3131    // by pmChipMosaic.  We therefore hack the structure so it doesn't look like a video cell.
    3232    psVector *darkNumbers = NULL;       // Number of dark readouts for each cell
    33     psVectorInit(darkNumbers, 0);
    3433    if (psMetadataLookupBool(&status, config->arguments, "INPUT_IS_DARK")) {
    3534        darkNumbers = psVectorAlloc(inChip->cells->n, PS_TYPE_S32);
     35        psVectorInit(darkNumbers, 0);
    3636        for (int i = 0; i < inChip->cells->n; i++) {
    3737            pmCell *cell = inChip->cells->data[i];
Note: See TracChangeset for help on using the changeset viewer.