Index: /trunk/psLib/src/astronomy/psAstrometry.c
===================================================================
--- /trunk/psLib/src/astronomy/psAstrometry.c	(revision 1482)
+++ /trunk/psLib/src/astronomy/psAstrometry.c	(revision 1483)
@@ -8,6 +8,6 @@
 *  @author George Gusciora, MHPCC
 *
-*  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-08-11 23:08:37 $
+*  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-08-11 23:16:15 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -203,11 +203,7 @@
     for (int i = 0; i < cells->n; i++) {
         psCell* tmpCell = (psCell* ) cells->data[i];
-        psArray* readouts = tmpCell->readouts;
-
-        // We only check a single readout for this cell since we assume that
-        // all readouts for a cell have identical parameters.
-        if (readouts != NULL) {
-            psReadout* tmpReadout = readouts->data[0];
-
+        psReadout *tmpReadout = tmpCell->readouts;
+
+        while (tmpReadout != NULL) {
             cellCoord = psPlaneTransformApply(cellCoord,
                                               tmpCell->fromChip,
@@ -218,4 +214,5 @@
                 return (tmpCell);
             }
+            tmpReadout++;
         }
     }
