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_psFunc02.c

    r5091 r5092  
    5151            testStatus = false;
    5252        }
    53         if ((tmpSpline->spline[i])->COOL_1D_n != LINEAR+1) {
     53        if ((tmpSpline->spline[i])->COOL_1D_n != LINEAR) {
    5454            printf("ERROR: Spline created with order %d\n", (tmpSpline->spline[i])->COOL_1D_n);
    5555            testStatus = false;
     
    133133            testStatus = false;
    134134        }
    135         if ((tmpSpline->spline[i])->COOL_1D_n != LINEAR+1) {
     135        if ((tmpSpline->spline[i])->COOL_1D_n != LINEAR) {
    136136            printf("ERROR: Spline created with order %d\n", (tmpSpline->spline[i])->COOL_1D_n);
    137137            testStatus = false;
     
    188188            testStatus = false;
    189189        }
    190         if ((tmpSpline->spline[i])->COOL_1D_n != CUBIC+1) {
     190        if ((tmpSpline->spline[i])->COOL_1D_n != CUBIC) {
    191191            printf("ERROR: Spline created with order %d\n", (tmpSpline->spline[i])->COOL_1D_n);
    192192            testStatus = false;
     
    270270            testStatus = false;
    271271        }
    272         if ((tmpSpline->spline[i])->COOL_1D_n != CUBIC+1) {
     272        if ((tmpSpline->spline[i])->COOL_1D_n != CUBIC) {
    273273            printf("ERROR: Spline created with order %d\n", (tmpSpline->spline[i])->COOL_1D_n);
    274274            testStatus = false;
     
    330330            testStatus = false;
    331331        }
    332         if ((tmpSpline->spline[i])->COOL_1D_n != LINEAR+1) {
     332        if ((tmpSpline->spline[i])->COOL_1D_n != LINEAR) {
    333333            printf("ERROR: Spline created with order %d\n", (tmpSpline->spline[i])->COOL_1D_n);
    334334            testStatus = false;
Note: See TracChangeset for help on using the changeset viewer.