- Timestamp:
- Nov 30, 2013, 1:34:15 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/psModules/src/objects/pmSourceFitSet.c
r36085 r36326 352 352 // set the model success or failure status 353 353 model->flags |= PM_MODEL_STATUS_FITTED; 354 if (!fitStatus) model->flags |= PM_MODEL_STATUS_NONCONVERGE; 354 if (!fitStatus) { 355 if (isnan(myMin->value)) { 356 model->flags |= PM_MODEL_STATUS_NAN_CHISQ; 357 } else { 358 model->flags |= PM_MODEL_STATUS_NONCONVERGE; 359 } 360 } 355 361 356 362 // models can go insane: reject these
Note:
See TracChangeset
for help on using the changeset viewer.
