Changeset 2991 for trunk/psLib/test/astronomy
- Timestamp:
- Jan 13, 2005, 3:48:01 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astronomy/tst_psAstrometry.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astronomy/tst_psAstrometry.c
r2855 r2991 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $8 * @date $Date: 200 4-12-30 20:18:36$7 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-01-14 01:46:07 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 215 215 } 216 216 217 if (fpa->chips->n != 8) {217 if (fpa->chips->n != 0) { 218 218 psLogMsg(__func__,PS_LOG_ERROR, 219 219 "psFPAAlloc did not set the number of chips properly."); 220 return 4; 221 } 222 223 if (fpa->chips->nalloc != 8) { 224 psLogMsg(__func__,PS_LOG_ERROR, 225 "psFPAAlloc did not allocate space for the number of chips properly."); 220 226 return 4; 221 227 } … … 290 296 } 291 297 298 if (fpa2->chips->nalloc != 0) { 299 psLogMsg(__func__,PS_LOG_ERROR, 300 "psFPAAlloc did not set the nalloc number of chips properly."); 301 return 14; 302 } 303 292 304 /* 293 305 3. Call psFPAAlloc with a NULL psExposure. Verify that the program … … 308 320 */ 309 321 322 fpa->chips->n = fpa->chips->nalloc; 310 323 for (psS32 lcv=0; lcv < 8; lcv++) { 311 324 fpa->chips->data[lcv] = psAlloc(4);
Note:
See TracChangeset
for help on using the changeset viewer.
