IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 22, 2005, 10:45:43 AM (21 years ago)
Author:
gusciora
Message:

Implementing the polynomial nTerm -> nOrder switch,

File:
1 edited

Legend:

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

    r4973 r5092  
    5656            testStatus = false;
    5757        }
    58         if ((tmpSpline->spline[i])->n != LINEAR+1) {
    59             printf("ERROR: Spline created with order %d\n", (tmpSpline->spline[i])->n);
     58        if ((tmpSpline->spline[i])->COOL_1D_n != LINEAR) {
     59            printf("ERROR: Spline created with order %d\n", (tmpSpline->spline[i])->COOL_1D_n);
    6060            testStatus = false;
    6161        }
     
    117117            testStatus = false;
    118118        }
    119         if ((tmpSpline->spline[i])->n != CUBIC+1) {
    120             printf("ERROR: Spline created with order %d\n", (tmpSpline->spline[i])->n);
     119        if ((tmpSpline->spline[i])->COOL_1D_n != CUBIC) {
     120            printf("ERROR: Spline created with order %d\n", (tmpSpline->spline[i])->COOL_1D_n);
    121121            testStatus = false;
    122122        }
Note: See TracChangeset for help on using the changeset viewer.