Changeset 36375 for trunk/psModules/src/objects/pmSourceFitSet.c
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
trunk/psModules
- Property svn:mergeinfo changed
-
trunk/psModules/src/objects/pmSourceFitSet.c
r36085 r36375 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.
