Index: trunk/psModules/src/astrom/pmAstrometry.c
===================================================================
--- trunk/psModules/src/astrom/pmAstrometry.c	(revision 5590)
+++ trunk/psModules/src/astrom/pmAstrometry.c	(revision 5609)
@@ -8,40 +8,12 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-11-24 02:01:41 $
+* XXX: We should review the extent of the warning messages on these functions
+* when the transformations are not successful.
+*
+*  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-11-27 19:28:56 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
 */
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
 
 /******************************************************************************/
@@ -68,8 +40,7 @@
     PS_ASSERT_IMAGE_NON_NULL(tmpImage, 0);
 
-    if (((x+FLT_EPSILON) < 0.0) ||
-            (x > (double)tmpImage->numCols) ||
-            ((y+FLT_EPSILON) < 0.0) ||
-            (y > (double)tmpImage->numRows)) {
+    // The FLT_EPSILON is because -0.0 was failing this.
+    if (((x+FLT_EPSILON) < 0.0) || (x > (double)tmpImage->numCols) ||
+            ((y+FLT_EPSILON) < 0.0) || (y > (double)tmpImage->numRows)) {
         return (0);
     }
@@ -106,5 +77,5 @@
 }
 
-#define BIG_BANG 1
+#define PS_FREE_HIERARCHY 1
 static void cellFree(pmCell *cell)
 {
@@ -122,5 +93,5 @@
             pmReadout *tmpReadout = (pmReadout *) cell->readouts->data[i];
             tmpReadout->parent = NULL;
-            if (BIG_BANG == 1) {
+            if (PS_FREE_HIERARCHY == 1) {
                 psFree(tmpReadout);
             }
@@ -146,5 +117,5 @@
             pmCell *tmpCell = (pmCell *) chip->cells->data[i];
             tmpCell->parent = NULL;
-            if (BIG_BANG == 1) {
+            if (PS_FREE_HIERARCHY == 1) {
                 psFree(tmpCell);
             }
@@ -173,5 +144,5 @@
             pmChip *tmpChip = (pmChip *) fpa->chips->data[i];
             tmpChip->parent = NULL;
-            if (BIG_BANG == 1) {
+            if (PS_FREE_HIERARCHY == 1) {
                 psFree(tmpChip);
             }
@@ -205,5 +176,5 @@
 }
 
-// XXX: Verify these default values for row0, col0, rowBins, colBins
+// XXX: Verify these default values for row0, col0.
 pmCell *pmCellAlloc(
     pmChip *chip,
@@ -237,4 +208,5 @@
 }
 
+// XXX: Verify these default values for row0, col0.
 pmChip *pmChipAlloc(
     pmFPA *fpa,
