Changeset 33411 for trunk/psphot
- Timestamp:
- Mar 5, 2012, 4:56:39 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotRadialProfileWings.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotRadialProfileWings.c
r33089 r33411 307 307 // linearly interpolate to the radius at which we hit the sky, using the last flux and the limiting slope 308 308 if (isfinite(lastFlux)) { 309 limitRadius = lastRadius + lastFlux / 3.0; 309 float interpolatedRadius = lastRadius + lastFlux / 3.0; 310 if (interpolatedRadius < MAX_RADIUS) { 311 limitRadius = interpolatedRadius; 312 } else { 313 // XXX should we keep going in this case? 314 limitRadius = meanRadius; 315 } 310 316 } else { 311 317 limitRadius = meanRadius;
Note:
See TracChangeset
for help on using the changeset viewer.
