Index: trunk/psLib/test/dataManip/tst_psFunc04.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psFunc04.c	(revision 1811)
+++ trunk/psLib/test/dataManip/tst_psFunc04.c	(revision 1861)
@@ -2,5 +2,5 @@
     This routine must ensure that the psSpline1DEval() function works
     properly.  It creates a spline with psSpline1DAlloc(), creates a set of
-    data values, sets the spline polynomials with psSpline1DGen(), then
+    data values, sets the spline polynomials with psVectorFitSpline1D(), then
     calls psSpline1DEval() on new data values and ensures that the results
     are correct.
@@ -41,6 +41,6 @@
         data->data.F32[i] = tmpSpline->domains[i];
     }
+    psVectorFitSpline1D(tmpSpline, data, data, NULL);
 
-    psSpline1DGen(tmpSpline, data);
     for (i=0;i<N+1;i++) {
         x = 0.5 + (float) i+1;
