IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25118


Ignore:
Timestamp:
Aug 18, 2009, 2:28:58 PM (17 years ago)
Author:
Paul Price
Message:

Only transfer covariance if there's a place to transfer it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubMatchPSFs.c

    r24862 r25118  
    260260    pmConceptsCopyFPA(refConv->parent->parent->parent, refRO->parent->parent->parent, true, true);
    261261
    262     psImageCovarianceTransfer(inConv->variance, inConv->covariance);
    263     psImageCovarianceTransfer(refConv->variance, refConv->covariance);
     262    if (inConv->variance) {
     263        psImageCovarianceTransfer(inConv->variance, inConv->covariance);
     264    }
     265    if (refConv->variance) {
     266        psImageCovarianceTransfer(refConv->variance, refConv->covariance);
     267    }
    264268
    265269    return true;
Note: See TracChangeset for help on using the changeset viewer.