IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1483


Ignore:
Timestamp:
Aug 11, 2004, 1:16:15 PM (22 years ago)
Author:
gusciora
Message:

...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astronomy/psAstrometry.c

    r1481 r1483  
    88*  @author George Gusciora, MHPCC
    99*
    10 *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2004-08-11 23:08:37 $
     10*  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2004-08-11 23:16:15 $
    1212*
    1313*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    203203    for (int i = 0; i < cells->n; i++) {
    204204        psCell* tmpCell = (psCell* ) cells->data[i];
    205         psArray* readouts = tmpCell->readouts;
    206 
    207         // We only check a single readout for this cell since we assume that
    208         // all readouts for a cell have identical parameters.
    209         if (readouts != NULL) {
    210             psReadout* tmpReadout = readouts->data[0];
    211 
     205        psReadout *tmpReadout = tmpCell->readouts;
     206
     207        while (tmpReadout != NULL) {
    212208            cellCoord = psPlaneTransformApply(cellCoord,
    213209                                              tmpCell->fromChip,
     
    218214                return (tmpCell);
    219215            }
     216            tmpReadout++;
    220217        }
    221218    }
Note: See TracChangeset for help on using the changeset viewer.