Changeset 5590
- Timestamp:
- Nov 23, 2005, 4:01:41 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/astrom/pmAstrometry.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmAstrometry.c
r5587 r5590 8 8 * @author GLG, MHPCC 9 9 * 10 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $11 * @date $Date: 2005-11-2 3 23:54:30$10 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2005-11-24 02:01:41 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 68 68 PS_ASSERT_IMAGE_NON_NULL(tmpImage, 0); 69 69 70 if ((x < 0.0) || (x > (double)tmpImage->numCols) || (y < 0.0) || (y > (double)tmpImage->numRows)) { 70 if (((x+FLT_EPSILON) < 0.0) || 71 (x > (double)tmpImage->numCols) || 72 ((y+FLT_EPSILON) < 0.0) || 73 (y > (double)tmpImage->numRows)) { 71 74 return (0); 72 75 } … … 476 479 } 477 480 478 psLogMsg(__func__, PS_LOG_WARN, "WARNING: could not determine the cell.\n");481 //psLogMsg(__func__, PS_LOG_WARN, "WARNING: could not determine the cell.\n"); 479 482 return (NULL); 480 483 }
Note:
See TracChangeset
for help on using the changeset viewer.
