Index: trunk/psLib/src/math/psConstants.h
===================================================================
--- trunk/psLib/src/math/psConstants.h	(revision 2293)
+++ trunk/psLib/src/math/psConstants.h	(revision 2304)
@@ -6,6 +6,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-11-06 00:56:28 $
+ *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-11-09 00:41:35 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -30,4 +30,13 @@
  
 *****************************************************************************/
+
+#define PS_INT_CHECK_EQUALS(NAME1, NAME2, RVAL) \
+if (NAME1 == NAME2) { \
+    psError(PS_ERR_BAD_PARAMETER_VALUE, true, \
+            "Error: %s and %s are equal.", \
+            #NAME1, #NAME2); \
+    return(RVAL); \
+}
+
 #define PS_INT_CHECK_NON_NEGATIVE(NAME, RVAL) \
 if (NAME < 0) { \
@@ -355,5 +364,5 @@
 
 /*****************************************************************************
-    Misc. macros: 
+    Misc. macros:
  *****************************************************************************/
 #define PS_MAX(A, B) \
