IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 21, 2005, 4:47:16 PM (21 years ago)
Author:
gusciora
Message:

The nX terms for the polynomials now refer to the order, not the number
of terms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/math/tst_psMinimize04.c

    r4995 r5090  
    4545    double actualData;
    4646
    47     psPolynomial2D *myPoly = psPolynomial2DAlloc(POLY_ORDER+1, POLY_ORDER+1, PS_POLYNOMIAL_ORD);
     47    psPolynomial2D *myPoly = psPolynomial2DAlloc(POLY_ORDER, POLY_ORDER, PS_POLYNOMIAL_ORD);
    4848    psVector *x = psVectorAlloc(NUM_DATA, PS_TYPE_F32);
    4949    psVector *y = psVectorAlloc(NUM_DATA, PS_TYPE_F32);
Note: See TracChangeset for help on using the changeset viewer.