Index: /trunk/psLib/src/imageops/psImageConvolve.c
===================================================================
--- /trunk/psLib/src/imageops/psImageConvolve.c	(revision 12000)
+++ /trunk/psLib/src/imageops/psImageConvolve.c	(revision 12001)
@@ -7,6 +7,6 @@
 /// @author Eugene Magnier, IfA
 ///
-/// @version $Revision: 1.46 $ $Name: not supported by cvs2svn $
-/// @date $Date: 2007-02-22 22:36:21 $
+/// @version $Revision: 1.47 $ $Name: not supported by cvs2svn $
+/// @date $Date: 2007-02-22 22:37:59 $
 ///
 /// Copyright 2004-2007 Institute for Astronomy, University of Hawaii
@@ -125,10 +125,10 @@
     int xMin, xMax, yMin, yMax;         // Range of values for kernel
     int xLast, yLast;                   // Last location, for relative shifts
-    int x0, y0;                         // Final location; everything is relative to this
+    float tSum = tShifts->data.F32[0];   // Sum of the times
     xLast = xMin = xMax = xShifts->data.S32[0];
     yLast = yMin = yMax = yShifts->data.S32[0];
+    int x0, y0;                         // Final location; everything is relative to this
     x0 = xShifts->data.S32[num - 1];
     y0 = yShifts->data.S32[num - 1];
-    float tSum = tShifts->data.F32[num];   // Sum of the times
     for (long i = 1; i < num; i++) {
         int x = xShifts->data.S32[i] - x0; // x position in kernel
