Index: trunk/psModules/src/astrom/pmAstrometry.c
===================================================================
--- trunk/psModules/src/astrom/pmAstrometry.c	(revision 5543)
+++ trunk/psModules/src/astrom/pmAstrometry.c	(revision 5552)
@@ -8,6 +8,6 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-11-18 19:43:14 $
+*  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-11-19 00:55:18 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -498,4 +498,19 @@
     return(p_psDeproject(outSphere, tpCoord, projection));
 }
+/*****************************************************************************
+XXX: What about units for the (x,y) coords?
+ 
+XXX: This has not been tested.
+ *****************************************************************************/
+psPlane* pmCoordSkyToTP(
+    psPlane* tpCoord,
+    const psSphere* in,
+    const psProjection *projection)
+{
+    PS_ASSERT_PTR_NON_NULL(in, NULL);
+    PS_ASSERT_PTR_NON_NULL(projection, NULL);
+
+    return(p_psProject(tpCoord, in, projection));
+}
 
 
@@ -558,21 +573,4 @@
              "WARNING: psCoordCellToSkyQuick(): This function is not fully specified in the SDRS.  Returning NULL.\n");
     return(NULL);
-}
-
-
-/*****************************************************************************
-XXX: What about units for the (x,y) coords?
- 
-XXX: This has not been tested.
- *****************************************************************************/
-psPlane* pmCoordSkyToTP(
-    psPlane* tpCoord,
-    const psSphere* in,
-    const psProjection *projection)
-{
-    PS_ASSERT_PTR_NON_NULL(in, NULL);
-    PS_ASSERT_PTR_NON_NULL(projection, NULL);
-
-    return(p_psProject(tpCoord, in, projection));
 }
 
Index: trunk/psModules/src/imsubtract/pmSubtractBias.c
===================================================================
--- trunk/psModules/src/imsubtract/pmSubtractBias.c	(revision 5543)
+++ trunk/psModules/src/imsubtract/pmSubtractBias.c	(revision 5552)
@@ -6,6 +6,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-11-15 20:09:03 $
+ *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-11-19 00:55:18 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -304,5 +304,12 @@
     }
 
-    out->knots = psVectorCopy(out->knots, in->knots, in->knots->type.type);
+    // XXX: use psVectorCopy if they get it working.
+    out->knots = psVectorAlloc(in->knots->n, in->knots->type.type);
+    for (psS32 i = 0 ; i < in->knots->n ; i++) {
+        out->knots->data.F32[i] = in->knots->data.F32[i];
+    }
+    /*
+        out->knots = psVectorCopy(out->knots, in->knots, in->knots->type.type);
+    */
 
     out->p_psDeriv2 = (psF32 *) psAlloc((in->n + 1) * sizeof(psF32));
@@ -1184,5 +1191,4 @@
     if (overscan == true) {
         pmOverscanAxis overScanAxis = GetOverscanAxis(in);
-
         //
         //  Create a psStats data structure and determine the highest
