Index: trunk/psLib/src/dataManip/psVectorFFT.c
===================================================================
--- trunk/psLib/src/dataManip/psVectorFFT.c	(revision 1349)
+++ trunk/psLib/src/dataManip/psVectorFFT.c	(revision 1350)
@@ -5,6 +5,6 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-07-30 04:03:51 $
+*  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-07-30 04:18:01 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -55,4 +55,11 @@
             return NULL;
             
+        }
+        
+    if ( type != PS_TYPE_F32 && direction == PS_FFT_FORWARD ) {
+            psError( __func__, "Input image must be real image for forward FFT (type=%d).",
+                     type );
+            psFree( out );
+            return NULL;
         }
         
