- Timestamp:
- Mar 30, 2012, 2:54:17 PM (14 years ago)
- Location:
- branches/eam_branches/ipp-20111122/psphot
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/psphot
- Property svn:mergeinfo changed
/trunk/psphot merged: 32868,32996,33030,33089,33140,33410-33411,33444,33462,33587
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20111122/psphot/src
- Property svn:mergeinfo changed
/trunk/psphot/src merged: 32868,32996,33030,33089,33140,33410-33411,33444,33462,33587
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20111122/psphot/src/psphotRadialProfileWings.c
r32850 r33640 147 147 148 148 // wait for the threads to finish and manage results 149 if (!psThreadPoolWait (false )) {149 if (!psThreadPoolWait (false, true)) { 150 150 psError(PS_ERR_UNKNOWN, false, "Unable to guess model."); 151 151 return false; … … 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.
