IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 13, 2005, 3:13:15 PM (22 years ago)
Author:
desonia
Message:

modification concerning requirement that 'n' in psArray of psFPA/psChip/psCell
shall be 0 at allocation time.

File:
1 edited

Legend:

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

    r2983 r2990  
    88 *  @author GLG, MHPCC
    99 *
    10  *  @version $Revision: 1.55 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2005-01-13 22:45:28 $
     10 *  @version $Revision: 1.56 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2005-01-14 01:13:15 $
    1212 *
    1313 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    362362        chips[i] = NULL;
    363363    }
     364    newFPA->chips->n = 0; // per requirement
    364365
    365366    newFPA->metadata = NULL;
     
    467468    psReadout* readout = psAlloc(sizeof(psReadout));
    468469
    469     *(psU32*)&readout->colBins = 0;
    470     *(psU32*)&readout->rowBins = 0;
     470    *(psU32*)&readout->colBins = 1;
     471    *(psU32*)&readout->rowBins = 1;
    471472    *(psU32*)&readout->rowParity = 0;
    472473    *(psU32*)&readout->colParity = 0;
Note: See TracChangeset for help on using the changeset viewer.