Changeset 9562a6b in sasview for src/sas


Ignore:
Timestamp:
Oct 2, 2018 4:59:45 AM (6 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
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.