IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 24, 2004, 12:33:21 PM (22 years ago)
Author:
gusciora
Message:

Changed order of spline eval functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/tst_psFunc04.c

    r2392 r2439  
    4646    for (i=0;i<N+1;i++) {
    4747        x = 0.5 + (float) i+1;
    48         y = psSpline1DEval(tmpSpline, x);
     48        y = psSpline1DEval(
     49                x,
     50                tmpSpline
     51            );
    4952        if (fabs(x-y) > FLT_EPSILON) {
    5053            printf("ERROR: f(%f) is %f\n", x, y);
     
    98101    for (i=0;i<N+1;i++) {
    99102        x = 0.5 + (float) i+1;
    100         y = psSpline1DEval(tmpSpline, x);
     103        y = psSpline1DEval(
     104                x,
     105                tmpSpline
     106            );
    101107        if (fabs(x-y) > FLT_EPSILON) {
    102108            printf("ERROR: f(%f) is %f\n", x, y);
Note: See TracChangeset for help on using the changeset viewer.