Index: /trunk/psModules/src/astrom/pmAstrometry.c
===================================================================
--- /trunk/psModules/src/astrom/pmAstrometry.c	(revision 5589)
+++ /trunk/psModules/src/astrom/pmAstrometry.c	(revision 5590)
@@ -8,6 +8,6 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-11-23 23:54:30 $
+*  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-11-24 02:01:41 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -68,5 +68,8 @@
     PS_ASSERT_IMAGE_NON_NULL(tmpImage, 0);
 
-    if ((x < 0.0) || (x > (double)tmpImage->numCols) || (y < 0.0) || (y > (double)tmpImage->numRows)) {
+    if (((x+FLT_EPSILON) < 0.0) ||
+            (x > (double)tmpImage->numCols) ||
+            ((y+FLT_EPSILON) < 0.0) ||
+            (y > (double)tmpImage->numRows)) {
         return (0);
     }
@@ -476,5 +479,5 @@
     }
 
-    psLogMsg(__func__, PS_LOG_WARN, "WARNING: could not determine the cell.\n");
+    //psLogMsg(__func__, PS_LOG_WARN, "WARNING: could not determine the cell.\n");
     return (NULL);
 }
