IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42329


Ignore:
Timestamp:
Jan 30, 2023, 9:40:18 AM (3 years ago)
Author:
eugene
Message:

fix trace calls with old structure elements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/psLib.20230123/src/math/psSpline.c

    r42326 r42329  
    117117    for (psS32 k = n-2; k >= 0; k--) {
    118118        d2y[k] = d2y[k] * d2y[k+1] + u[k];
    119         psTrace("psLib.math", 6, "derivs2[%d] is %f\n", k, derivs2[k]);
     119        psTrace("psLib.math", 6, "derivs2[%d] is %f\n", k, d2y[k]);
    120120    }
    121121    psFree(u);
     
    290290    myPoly->coeff[3]+=  d2yKnots[n+1] / (6.0 * H);
    291291
    292     psTrace("psLib.math", 6, "(spline->spline[%u])->coeff[0] is %f\n", i, myPoly->coeff[0]);
    293     psTrace("psLib.math", 6, "(spline->spline[%u])->coeff[1] is %f\n", i, myPoly->coeff[1]);
    294     psTrace("psLib.math", 6, "(spline->spline[%u])->coeff[2] is %f\n", i, myPoly->coeff[2]);
    295     psTrace("psLib.math", 6, "(spline->spline[%u])->coeff[3] is %f\n", i, myPoly->coeff[3]);
     292    psTrace("psLib.math", 6, "(spline->spline[%u])->coeff[0] is %f\n", n, myPoly->coeff[0]);
     293    psTrace("psLib.math", 6, "(spline->spline[%u])->coeff[1] is %f\n", n, myPoly->coeff[1]);
     294    psTrace("psLib.math", 6, "(spline->spline[%u])->coeff[2] is %f\n", n, myPoly->coeff[2]);
     295    psTrace("psLib.math", 6, "(spline->spline[%u])->coeff[3] is %f\n", n, myPoly->coeff[3]);
    296296
    297297    return myPoly;
Note: See TracChangeset for help on using the changeset viewer.