Skip to content

Commit

Permalink
prefer passing Parameters instead of paramgroup
Browse files Browse the repository at this point in the history
  • Loading branch information
newville committed Dec 3, 2023
1 parent b31109a commit 1bb08ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions larch/wxxas/feffit_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1941,8 +1941,8 @@ def onPlot(self, event=None):
dset._residual(result.params)
dset.save_outputs()
trans = dset.transform
dset.prepare_fit(group2params(result.paramgroup))
dset._residual(result.paramgroup)
dset.prepare_fit(result.params)
dset._residual(result.params)

result_name = f'{self.datagroup.groupname}.feffit_history[{self.nfit}]'
opts['label'] = f'{result_name}.label'
Expand Down

0 comments on commit 1bb08ca

Please sign in to comment.