Changeset 15980 for trunk/psModules/src/objects/pmSourceIO_PS1_DEV_0.c
- Timestamp:
- Jan 2, 2008, 10:39:04 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceIO_PS1_DEV_0.c
r15562 r15980 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $6 * @date $Date: 200 7-11-10 01:09:20$5 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2008-01-02 20:39:04 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 69 69 70 70 // no difference between PSF and non-PSF model 71 pmModel *model = pmSourceGetModel (NULL, source);71 pmModel *model = pmSourceGetModel(NULL, source); 72 72 73 73 if (model != NULL) { … … 81 81 axes = pmPSF_ModelToAxes (PAR, 20.0); 82 82 } else { 83 // XXX: This code seg faults if source->peak is NULL. 83 84 xPos = source->peak->xf; 84 85 yPos = source->peak->yf; … … 168 169 psArray *table = psFitsReadTable (fits); 169 170 // validate a single row of the table (must match SMP) 170 171 // XXX: The following seg-faults if table returns NULL, so I added the ASSERT 172 PS_ASSERT_PTR_NON_NULL(table, NULL); 171 173 psArray *sources = psArrayAlloc (table->n); 172 174
Note:
See TracChangeset
for help on using the changeset viewer.
