Index: trunk/psModules/src/imsubtract/pmSubtractBias.c
===================================================================
--- trunk/psModules/src/imsubtract/pmSubtractBias.c	(revision 5516)
+++ 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
