Index: trunk/psLib/src/dataManip/psMinimize.c
===================================================================
--- trunk/psLib/src/dataManip/psMinimize.c	(revision 3096)
+++ trunk/psLib/src/dataManip/psMinimize.c	(revision 3097)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.102 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-26 20:41:04 $
+ *  @version $Revision: 1.103 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-01-26 20:47:41 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -162,4 +162,6 @@
  
 XXX: This is F32 only
+ 
+XXX: spline->knots must be psF32
  *****************************************************************************/
 /*
@@ -177,4 +179,5 @@
     PS_VECTOR_CHECK_NULL(y, NAN);
     PS_VECTOR_CHECK_TYPE(y, PS_TYPE_F32, NAN);
+    PS_VECTOR_CHECK_TYPE(spline->knots, PS_TYPE_F32, NULL);
  
     psS32 n;
@@ -244,4 +247,6 @@
 XXX: What happens if X is NULL, then an index vector is generated for X, but
 that index vector lies outside the range vectors in mySpline?
+ 
+XXX: Assumes mySpline->knots is psF32.  Must add psU32 and psF64.
  *****************************************************************************/
 psSpline1D *psVectorFitSpline1D(psSpline1D *mySpline,              ///< The spline which will be generated.
@@ -252,4 +257,5 @@
     PS_VECTOR_CHECK_NULL(y, NULL);
     PS_VECTOR_CHECK_TYPE_F32_OR_F64(y, NULL);
+    PS_VECTOR_CHECK_TYPE(mySpline->knots, PS_TYPE_F32, NULL);
 
     psTrace(".psLib.dataManip.psVectorFitSpline1D", 4,
