IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 18, 2010, 3:34:00 PM (16 years ago)
Author:
Paul Price
Message:

Only transfer covariance if there's variance to which to transfer it!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpLoop.c

    r28006 r28010  
    284284        psFree(covar);
    285285
    286         psImageCovarianceTransfer(output->variance, output->covariance);
     286        if (output->variance) {
     287            psImageCovarianceTransfer(output->variance, output->covariance);
     288        }
    287289    }
    288290
Note: See TracChangeset for help on using the changeset viewer.