Changeset 36863 for trunk/psphot/src/psphotSourceFits.c
- Timestamp:
- Jun 13, 2014, 8:52:06 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotSourceFits.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotSourceFits.c
r36375 r36863 700 700 model->params->data.F32[PM_PAR_7] = 0.5/indexGuess[i]; 701 701 702 if (!model-> modelGuess(model, source, maskVal, markVal)) {702 if (!model->class->modelGuess(model, source, maskVal, markVal)) { 703 703 model->flags |= PM_MODEL_STATUS_BADARGS; 704 704 return false; … … 723 723 model->flags = PM_MODEL_STATUS_NONE; // do not attempt to handle failures here, let the next iteration deal with it 724 724 model->params->data.F32[PM_PAR_7] = 0.5/indexGuess[iMin]; 725 model-> modelGuess(model, source, maskVal, markVal);725 model->class->modelGuess(model, source, maskVal, markVal); 726 726 727 727 return true; … … 752 752 model->params->data.F32[PM_PAR_7] = indexGuess[i]; 753 753 754 if (!model-> modelGuess(model, source, maskVal, markVal)) {754 if (!model->class->modelGuess(model, source, maskVal, markVal)) { 755 755 model->flags |= PM_MODEL_STATUS_BADARGS; 756 756 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
