IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 14, 2009, 1:05:27 PM (17 years ago)
Author:
Paul Price
Message:

Fix SEGV when !covar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackCombineFinal.c

    r23769 r25078  
    5656        }
    5757        psKernel *covar = options->covariances->data[i]; // Covariance matrix
     58        if (!covar) {
     59            continue;
     60        }
    5861        float weight = options->weightings->data.F32[i]; // Weight to apply
    5962        psBinaryOp(covar->image, covar->image, "*", psScalarAlloc(weight, PS_TYPE_F32));
Note: See TracChangeset for help on using the changeset viewer.