Index: /trunk/psModules/test/tst_pmObjects01.c
===================================================================
--- /trunk/psModules/test/tst_pmObjects01.c	(revision 4203)
+++ /trunk/psModules/test/tst_pmObjects01.c	(revision 4204)
@@ -19,6 +19,6 @@
  * abd never deallocate, no error is generated.
  *
- *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-09 23:45:42 $
+ *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-06-09 23:56:39 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -30,4 +30,5 @@
 #define NUM_COLS 10
 #define ERROR_TOLERANCE 1.0
+#define ERROR_TOL 0.001
 static int test00(void);
 static int test01(void);
@@ -105,12 +106,12 @@
         testStatus = false;
     } else {
-        if ((fabs(tmpMoments->x) > 0.0) ||
-                (fabs(tmpMoments->y) > 0.0) ||
-                (fabs(tmpMoments->Sx) > 0.0) ||
-                (fabs(tmpMoments->Sy) > 0.0) ||
-                (fabs(tmpMoments->Sxy) > 0.0) ||
-                (fabs(tmpMoments->Sum) > 0.0) ||
-                (fabs(tmpMoments->Peak) > 0.0) ||
-                (fabs(tmpMoments->Sky) > 0.0) ||
+        if ((fabs(tmpMoments->x-0.0) > ERROR_TOL) ||
+                (fabs(tmpMoments->y-0.0) > ERROR_TOL) ||
+                (fabs(tmpMoments->Sx-0.0) > ERROR_TOL) ||
+                (fabs(tmpMoments->Sy-0.0) > ERROR_TOL) ||
+                (fabs(tmpMoments->Sxy-0.0) > ERROR_TOL) ||
+                (fabs(tmpMoments->Sum-0.0) > ERROR_TOL) ||
+                (fabs(tmpMoments->Peak-0.0) > ERROR_TOL) ||
+                (fabs(tmpMoments->Sky-0.0) > ERROR_TOL) ||
                 (tmpMoments->nPixels != 0)) {
             printf("TEST ERROR: pmMomentsAlloc() did not properly initialize the psMoments structure.\n");
