Index: /trunk/psLib/src/mathtypes/psImage.h
===================================================================
--- /trunk/psLib/src/mathtypes/psImage.h	(revision 11672)
+++ /trunk/psLib/src/mathtypes/psImage.h	(revision 11673)
@@ -8,6 +8,6 @@
  * @author Ross Harman, MHPCC
  *
- * @version $Revision: 1.84 $ $Name: not supported by cvs2svn $
- * @date $Date: 2007-01-23 22:47:23 $
+ * @version $Revision: 1.85 $ $Name: not supported by cvs2svn $
+ * @date $Date: 2007-02-07 00:40:04 $
  * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
  */
@@ -271,4 +271,12 @@
 }
 
+#define PS_ASSERT_IMAGE_TYPE_F32_OR_F64(NAME, RVAL) \
+if ((NAME)->type.type != PS_TYPE_F32 || (NAME)->type.type != PS_TYPE_F64) { \
+    psError(PS_ERR_BAD_PARAMETER_TYPE, true, \
+            "Unallowable operation: psImage %s is not of type F32 or F64.", \
+            #NAME); \
+    return(RVAL); \
+}
+
 #define PS_ASSERT_IMAGES_SIZE_EQUAL(NAME1, NAME2, RVAL) \
 if (((NAME1)->numCols != (NAME2)->numCols) || \
