Skip to content

Commit

Permalink
Remove unneeded if statement that was preventing beta calculation fro…
Browse files Browse the repository at this point in the history
…m occuring.
  • Loading branch information
krzywon committed Aug 30, 2024
1 parent 95437ad commit ceebafd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -2940,8 +2940,7 @@ def onMainParamsChange(self, top, bottom):
# don't try to update multiplicity counters if they aren't there.
# Note that this will fail for proper bad update where the model
# doesn't contain multiplicity parameter
if self.kernel_module.params.get(parameter_name, None):
self.kernel_module.setParam(parameter_name, value)
self.kernel_module.setParam(parameter_name, value)
elif model_column == min_column:
# min/max to be changed in self.kernel_module.details[parameter_name] = ['Ang', 0.0, inf]
self.kernel_module.details[parameter_name][1] = value
Expand Down

0 comments on commit ceebafd

Please sign in to comment.