Changeset 13932 for trunk/psModules/src/objects/pmSourceFitModel.c
- Timestamp:
- Jun 21, 2007, 12:58:11 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourceFitModel.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceFitModel.c
r13898 r13932 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-06-2 0 02:22:26$8 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-06-21 22:58:11 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 83 83 // skip zero-weight points 84 84 if (source->weight->data.F32[i][j] == 0) { 85 continue; 86 } 87 // skip nan values in image 88 if (!isfinite(source->pixels->data.F32[i][j])) { 85 89 continue; 86 90 } … … 358 362 continue; 359 363 } 364 // skip nan values in image 365 if (!isfinite(source->pixels->data.F32[i][j])) { 366 continue; 367 } 368 360 369 psVector *coord = psVectorAlloc(2, PS_TYPE_F32); 361 370
Note:
See TracChangeset
for help on using the changeset viewer.
