1
0
forked from IPKM/nmreval

wrong addition to parameter length in iterator (#278)

fixes #277

Reviewed-on: IPKM/nmreval#278
This commit is contained in:
Dominik Demuth 2024-07-04 10:37:43 +00:00
parent 8f92d8d822
commit a2a95e796a

View File

@ -495,7 +495,7 @@ class QFitDialog(QtWidgets.QWidget, Ui_FitDialog):
if model_p['active']:
cnt += self.param_widgets[model_p['cnt']].set_parameter(fit_id, param[cnt:])
if model_p['children']:
cnt += self.set_parameter_iter(fit_id, param, model_p['children'], cnt=cnt)
cnt = self.set_parameter_iter(fit_id, param, model_p['children'], cnt=cnt)
return cnt