Index: trunk/psModules/test/tst_pmObjects01.c
===================================================================
--- trunk/psModules/test/tst_pmObjects01.c	(revision 4102)
+++ trunk/psModules/test/tst_pmObjects01.c	(revision 4202)
@@ -19,6 +19,6 @@
  * abd never deallocate, no error is generated.
  *
- *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-03 22:45:51 $
+ *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-06-09 23:45:42 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -105,12 +105,12 @@
         testStatus = false;
     } else {
-        if ((tmpMoments->x != 0.0) ||
-                (tmpMoments->y != 0.0) ||
-                (tmpMoments->Sx != 0.0) ||
-                (tmpMoments->Sy != 0.0) ||
-                (tmpMoments->Sxy != 0.0) ||
-                (tmpMoments->Sum != 0.0) ||
-                (tmpMoments->Peak != 0.0) ||
-                (tmpMoments->Sky != 0.0) ||
+        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) ||
                 (tmpMoments->nPixels != 0)) {
             printf("TEST ERROR: pmMomentsAlloc() did not properly initialize the psMoments structure.\n");
