Index: /trunk/psLib/src/math/psFunctions.c
===================================================================
--- /trunk/psLib/src/math/psFunctions.c	(revision 4569)
+++ /trunk/psLib/src/math/psFunctions.c	(revision 4570)
@@ -7,6 +7,6 @@
  *  polynomials.  It also contains a Gaussian functions.
  *
- *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-07-16 00:06:32 $
+ *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-07-16 00:42:28 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -1829,5 +1829,4 @@
                             float max)
 {
-    printf("HEY: psSpline1DAlloc()\n");
     PS_ASSERT_INT_NONNEGATIVE(numSplines, NULL);
     PS_ASSERT_INT_NONNEGATIVE(order, NULL);
@@ -1853,9 +1852,4 @@
     //
     tmpSpline->knots = psVectorAlloc(numSplines+1, PS_TYPE_F32);
-    if (tmpSpline->knots == NULL) {
-        printf("BAD\n");
-    } else {
-        printf("GOOD\n");
-    }
     psF32 width = (max - min) / ((psF32) numSplines);
     tmpSpline->knots->data.F32[0] = min;
@@ -1897,5 +1891,4 @@
                                    int order)
 {
-    printf("HEY: psSpline1DAllocGeneric()\n");
     PS_ASSERT_VECTOR_NON_NULL(bounds, NULL);
     PS_ASSERT_VECTOR_NON_EMPTY(bounds, NULL);
@@ -1930,9 +1923,4 @@
     }
     tmpSpline->knots = PsVectorDup((psVector *) bounds);
-    if (tmpSpline->knots == NULL) {
-        printf("BAD\n");
-    } else {
-        printf("GOOD\n");
-    }
 
     psMemSetDeallocator(tmpSpline, (psFreeFunc)spline1DFree);
Index: /trunk/psLib/src/math/psMinimize.c
===================================================================
--- /trunk/psLib/src/math/psMinimize.c	(revision 4569)
+++ /trunk/psLib/src/math/psMinimize.c	(revision 4570)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.125 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-07-16 00:06:32 $
+ *  @version $Revision: 1.126 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-07-16 00:42:28 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
Index: /trunk/psLib/src/math/psMinimize.h
===================================================================
--- /trunk/psLib/src/math/psMinimize.h	(revision 4569)
+++ /trunk/psLib/src/math/psMinimize.h	(revision 4570)
@@ -8,6 +8,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.49 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-07-12 19:12:01 $
+ *  @version $Revision: 1.50 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-07-16 00:42:28 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -93,4 +93,9 @@
     const psVector* yErr               ///< Errors in coordinates, or NULL
 );
+psSpline1D *psVectorFitSpline1DNEW(
+    const psVector* x,                 ///< Ordinates (or NULL to just use the indices)
+    const psVector* y,                 ///< Coordinates
+    int nKnots
+);
 
 /** Specifies the format of a user-defined function that the general Levenberg-
