Changeset 4a0dc427 in sasview for src


Ignore:
Timestamp:
May 16, 2014 5:30:57 PM (11 years ago)
Author:
pkienzle
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
eff93b8
Parents:
786685e
Message:

bumps simultaneous fit failure workaround

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sans/fit/BumpsFitting.py

    r4e9f227 r4a0dc427  
    111111        for k,p in self._pars.items(): 
    112112            p.fixed = (k not in param_list or k in self.constraints) 
    113         self.fitted_pars = [self._pars[k] for k in param_list] 
    114         self.fitted_par_names = param_list 
     113        self.fitted_pars = [self._pars[k] for k in param_list if k not in self.constraints] 
     114        self.fitted_par_names = [k for k in param_list if k not in self.constraints] 
    115115 
    116116    # ===== Fitness interface ==== 
Note: See TracChangeset for help on using the changeset viewer.