Index: /trunk/psLib/src/fft/psImageFFT.c
===================================================================
--- /trunk/psLib/src/fft/psImageFFT.c	(revision 11713)
+++ /trunk/psLib/src/fft/psImageFFT.c	(revision 11714)
@@ -6,6 +6,6 @@
 /// @author Robert DeSonia, MHPCC
 ///
-/// @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
-/// @date $Date: 2007-02-08 04:17:58 $
+/// @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
+/// @date $Date: 2007-02-08 23:56:02 $
 ///
 /// Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -129,4 +129,5 @@
     psF32 *target = psAlloc(2 * numCols * numRows * PSELEMTYPE_SIZEOF(PS_TYPE_F32)); // Target for FFTW
     fftwf_complex *in = fftwf_malloc(numCols * numRows * sizeof(fftwf_complex)); // Input data
+
     for (int y = 0, index = 0; y < numRows; y++) {
         for (int x = 0; x < numCols; index++, x++) {
@@ -156,5 +157,5 @@
     // while the output doesn't.
     for (int y = 0, index = 0; y < numRows; y++, index += origCols) {
-        memcpy(&(*out)->data.F32[y][0], &target[index], numRows * PSELEMTYPE_SIZEOF(PS_TYPE_F32));
+        memcpy(&(*out)->data.F32[y][0], &target[index], numCols * PSELEMTYPE_SIZEOF(PS_TYPE_F32));
     }
     psFree(target);
