Index: trunk/Ohana/src/opihi/cmd.astro/imfit.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/imfit.c	(revision 12840)
+++ trunk/Ohana/src/opihi/cmd.astro/imfit.c	(revision 20936)
@@ -6,5 +6,6 @@
   int sx, sy, nx, ny, Nx, Ny;
   float chisq, ochisq, dchisq, Gain, RDnoise, SatThreshold;
-  float *x, *y, *z, *dz, *V;
+  opihi_flt *x, *y, *z, *dz;
+  float *V;
   Buffer *buf;
 
@@ -94,8 +95,8 @@
   N = 0;
   Npts = nx*ny;
-  ALLOCATE (x,  float, 2*Npts);
-  ALLOCATE (y,  float, 2*Npts);
-  ALLOCATE (z,  float, 2*Npts);
-  ALLOCATE (dz, float, 2*Npts);
+  ALLOCATE (x,  opihi_flt, 2*Npts);
+  ALLOCATE (y,  opihi_flt, 2*Npts);
+  ALLOCATE (z,  opihi_flt, 2*Npts);
+  ALLOCATE (dz, opihi_flt, 2*Npts);
   for (j = 0; j < ny; j++) {
     if (j + sy < 0) continue;
