- Timestamp:
- Jun 19, 2012, 5:24:19 PM (14 years ago)
- Location:
- branches/meh_branches/ppstack_test
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppstack_test
- Property svn:mergeinfo changed
-
branches/meh_branches/ppstack_test/psModules
- Property svn:mergeinfo changed
-
branches/meh_branches/ppstack_test/psModules/src/objects/pmModelUtils.c
r33415 r34041 144 144 145 145 *Io = source->peak->rawFlux; 146 147 #ifndef ALLOW_NONFINITE_PEAK 148 // Gene says fail of peak !finite 149 if (!isfinite(*Io)) return false; 150 #else 151 // This is the way it used to be. Somtimes an infinite value Io made it's way down the pipeline 152 // causing assertion failures 146 153 if (!isfinite(*Io) && !source->moments) return false; 147 154 148 155 *Io = source->moments->Peak; 149 156 if (!isfinite(*Io)) return false; 157 #endif 150 158 151 159 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
