Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2356 correct behaviour add all constraints #2728

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/sas/qtgui/Perspectives/Fitting/ComplexConstraint.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@ def onSetAll(self):
# loop over parameters in constrained model
index1 = self.cbModel1.currentIndex()
index2 = self.cbModel2.currentIndex()
items1 = self.tabs[index1].kernel_module.params
items2 = self.params[index2]
items1 = self.tabs[index1].main_params_to_fit + self.tabs[index1].poly_params_to_fit
items2 = self.tabs[index2].main_params_to_fit + self.tabs[index2].poly_params_to_fit
# create an empty list to store redefined constraints
redefined_constraints = []
for item in items1:
Expand Down
Loading