Index: trunk/psLib/test/math/tst_psFunc03.c
===================================================================
--- trunk/psLib/test/math/tst_psFunc03.c	(revision 4973)
+++ trunk/psLib/test/math/tst_psFunc03.c	(revision 5092)
@@ -56,6 +56,6 @@
             testStatus = false;
         }
-        if ((tmpSpline->spline[i])->n != LINEAR+1) {
-            printf("ERROR: Spline created with order %d\n", (tmpSpline->spline[i])->n);
+        if ((tmpSpline->spline[i])->COOL_1D_n != LINEAR) {
+            printf("ERROR: Spline created with order %d\n", (tmpSpline->spline[i])->COOL_1D_n);
             testStatus = false;
         }
@@ -117,6 +117,6 @@
             testStatus = false;
         }
-        if ((tmpSpline->spline[i])->n != CUBIC+1) {
-            printf("ERROR: Spline created with order %d\n", (tmpSpline->spline[i])->n);
+        if ((tmpSpline->spline[i])->COOL_1D_n != CUBIC) {
+            printf("ERROR: Spline created with order %d\n", (tmpSpline->spline[i])->COOL_1D_n);
             testStatus = false;
         }
