Index: trunk/Ohana/src/opihi/cmd.astro/biassub.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/biassub.c	(revision 7917)
+++ trunk/Ohana/src/opihi/cmd.astro/biassub.c	(revision 20936)
@@ -5,5 +5,6 @@
   int i, j, k, N, dir, nlong, nwide, start;
   int sx, sy, nx, ny, NX, NY, NoVector, Nval;
-  float *V, *DV, dV, *vect, *segment, val;
+  float *V, dV, *segment, val;
+  opihi_flt *DV, *vect;
   Vector *xvec, *yvec;
   Buffer *buf;
@@ -54,5 +55,5 @@
   }
 
-  ALLOCATE (vect, float, nlong);
+  ALLOCATE (vect, opihi_flt, nlong);
   ALLOCATE (segment, float, nwide);
 
@@ -90,10 +91,9 @@
 
   if (!NoVector) {
-    xvec[0].Nelements = yvec[0].Nelements = nlong;
-    REALLOCATE (xvec[0].elements, float, nlong);
-    REALLOCATE (yvec[0].elements, float, nlong);
+    ResetVector (xvec, OPIHI_FLT, nlong);
+    ResetVector (yvec, OPIHI_FLT, nlong);
     for (i = 0; i < nlong; i++) {
-      xvec[0].elements[i] = i + start;
-      yvec[0].elements[i] = vect[i];
+      xvec[0].elements.Flt[i] = i + start;
+      yvec[0].elements.Flt[i] = vect[i];
     }
   }
