IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 17, 2006, 2:56:44 PM (20 years ago)
Author:
drobbin
Message:

Finished updating files affected by changing psArrayAlloc to set ->n=0.

File:
1 edited

Legend:

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

    r6332 r6449  
    2020myFunc():
    2121    sum = param[0] + x[0] * x[1] +
    22           param[1] * x[0] + 
     22          param[1] * x[0] +
    2323          param[2] * x[0]^2 +
    24           param[3] * x[1] + 
     24          param[3] * x[1] +
    2525          param[4] * x[1]^2
    2626 
     
    5959    psVector *myDerivs = psVectorAlloc(NUM_PARAMS, PS_TYPE_F32);
    6060    psArray *myCoords = psArrayAlloc(NUM_DATA_POINTS);
     61    myCoords->n = NUM_DATA_POINTS;
    6162    psVector *y = psVectorAlloc(NUM_DATA_POINTS, PS_TYPE_F32);
    6263
Note: See TracChangeset for help on using the changeset viewer.