Changeset 9562a6b in sasview


Ignore:
Timestamp:
Oct 2, 2018 2:59:45 AM (2 months ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Invariant, ESS_GUI_batch_fitting, ESS_GUI_ordering
Children:
bb3e54dc
Parents:
9d7cb19
Message:

Reset multiplicity to allow generation of correct product model.
SASVIEW-1197

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FittingWidget.py

    r62c6dc0 r9562a6b  
    21852185            s_kernel = self.models[structure_factor]() 
    21862186            p_kernel = self.kernel_module 
     2187            # need to reset multiplicity to get the right product 
     2188            p_kernel.multiplicity = p_kernel.multiplicity_info.number 
    21872189 
    21882190            p_pars_len = len(p_kernel._model_info.parameters.kernel_parameters) 
Note: See TracChangeset for help on using the changeset viewer.