IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36291


Ignore:
Timestamp:
Nov 21, 2013, 9:37:50 AM (13 years ago)
Author:
eugene
Message:

correct allocation of size of psF64 * instead of psF63

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130904/psLib/src/math/psMinimizePolyFit.c

    r36256 r36291  
    739739
    740740        // Undo scaling in the polynomial values.
    741         psF64 *Zcoeff = psAlloc((1 + poly->nX) * sizeof(psF64 *));
    742         psF64 *ZcoeffErr = psAlloc((1 + poly->nX) * sizeof(psF64 *));
     741        psF64 *Zcoeff = psAlloc((1 + poly->nX) * sizeof(psF64));
     742        psF64 *ZcoeffErr = psAlloc((1 + poly->nX) * sizeof(psF64));
    743743       
    744744        for (psS32 i = 0; i <= poly->nX; i++) {
Note: See TracChangeset for help on using the changeset viewer.