Index: /trunk/psLib/src/astronomy/psAstrometry.c
===================================================================
--- /trunk/psLib/src/astronomy/psAstrometry.c	(revision 1542)
+++ /trunk/psLib/src/astronomy/psAstrometry.c	(revision 1543)
@@ -8,6 +8,6 @@
 *  @author George Gusciora, MHPCC
 *
-*  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-08-13 23:43:29 $
+*  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-08-14 01:51:11 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -560,12 +560,6 @@
     }
 
-    // Determine which chip contains these FPA coordinates.
-    psChip *newChip = psChipInFPA(fpaCoord, FPA);
-    if (newChip == NULL) {
-        return(NULL);
-    }
-
-    chipCoord = psPlaneTransformApply(chipCoord, newChip->fromFPA, fpaCoord);
-    psFree(newChip);
+    chipCoord = psPlaneTransformApply(chipCoord, chip->fromFPA, fpaCoord);
+
     return(chipCoord);
 }
@@ -587,18 +581,9 @@
     }
 
-    // Determine which cell contains these FPA coordinates.
-    psCell *newCell = psCellInChip(chipCoord, chip);
-    if (newCell == NULL) {
-        return(NULL);
-    }
-
-    cellCoord = psPlaneTransformApply(cellCoord, newCell->fromChip, chipCoord);
-    psFree(newCell);
+    cellCoord = psPlaneTransformApply(cellCoord, cell->fromChip, chipCoord);
+
     return(cellCoord);
 }
 
-/*****************************************************************************
-XXX: Should we do anything to determine which cell contains the coordinates?
- *****************************************************************************/
 psPlane* psCoordSkyToCell(psPlane* cellCoord,
                           const psSphere* skyCoord,
@@ -638,7 +623,4 @@
 }
 
-/*****************************************************************************
-XXX: Should we do anything to determine which cell contains the coordinates?
- *****************************************************************************/
 psPlane* psCoordSkyToCellQuick(psPlane* cellCoord,
                                const psSphere* skyCoord,
