Changes in / [cd10013:1176137] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/basepage.py
rc192960 r5818dae 1470 1470 # we need to check here ourselves. 1471 1471 if not is_modified: 1472 is_modified = self._check_value_enter(self.fittable_param) 1473 is_modified = self._check_value_enter( 1474 self.fixed_param) or is_modified 1475 is_modified = self._check_value_enter( 1476 self.parameters) or is_modified 1472 is_modified = (self._check_value_enter(self.fittable_param) 1473 or self._check_value_enter(self.fixed_param) 1474 or self._check_value_enter(self.parameters)) 1477 1475 1478 1476 # Here we should check whether the boundaries have been modified. … … 1536 1534 data=[self.data]) 1537 1535 # Check the values 1538 is_modified = self._check_value_enter(self.fittable_param)1539 is_modified = self._check_value_enter(self.fixed_param) or is_modified1540 is_modified = self._check_value_enter(self.parameters) or is_modified1536 is_modified = (self._check_value_enter(self.fittable_param) 1537 or self._check_value_enter(self.fixed_param) 1538 or self._check_value_enter(self.parameters)) 1541 1539 1542 1540 # If qmin and qmax have been modified, update qmin and qmax and … … 2324 2322 2325 2323 # Update value in model if it has changed 2326 if (value != self.model.getParam(name) or 2327 (np.isnan(value) and np.isnan(self.model.getParam(name)))): 2324 if value != self.model.getParam(name): 2328 2325 self.model.setParam(name, value) 2329 2326 is_modified = True
Note: See TracChangeset
for help on using the changeset viewer.