IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26657


Ignore:
Timestamp:
Jan 21, 2010, 2:53:38 PM (16 years ago)
Author:
Paul Price
Message:

Fix SEGV from not copying pmSubtractionKernels.sampleStamps in pmSubtractionKernelsCopy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/psModules/src/imcombine/pmSubtractionKernels.c

    r26593 r26657  
    227227    if (!forceZeroNull && ((uOrder % 2) || (vOrder % 2))) {
    228228        // Odd function
    229         scale2D = 1.0 / sqrt(sum2);
     229        scale2D = 1.0 / sqrt(sum2);
    230230    }
    231231
     
    12501250    out->solution1 = in->solution1 ? psVectorCopy(NULL, in->solution1, PS_TYPE_F64) : NULL;
    12511251    out->solution2 = in->solution2 ? psVectorCopy(NULL, in->solution2, PS_TYPE_F64) : NULL;
     1252    out->sampleStamps = psMemIncrRefCounter(in->sampleStamps);
    12521253
    12531254    return out;
Note: See TracChangeset for help on using the changeset viewer.