IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 1, 2009, 6:04:44 PM (17 years ago)
Author:
Paul Price
Message:

Fixing moment following fix to sum.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtractionKernels.c

    r24295 r24296  
    164164                    psBinaryOp(xKernel, xKernel, "*", psScalarAlloc(sum, PS_TYPE_F32));
    165165                    psBinaryOp(yKernel, yKernel, "*", psScalarAlloc(sum, PS_TYPE_F32));
    166                     moment *= sum;
     166                    moment *= PS_SQR(sum);
    167167                }
    168168
Note: See TracChangeset for help on using the changeset viewer.