Changeset a5f7bf4 in sasview for src


Ignore:
Timestamp:
Mar 25, 2019 5:27:29 AM (6 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl
Children:
2e7be0d
Parents:
b415abc
Message:

Fixed parentheses placement + typo

File:
1 edited

Legend:

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

    rb415abc ra5f7bf4  
    400400            elif data.dqx_data.any() != 0 and data.dqy_data.any() != 0: 
    401401                smear_type = "Pinhole2d" 
    402                 dq_l = GuiUtils.formatNumber(np.average(data.dqx_data)/abs(data.qx_data)*100., high=True) 
    403                 dq_r = GuiUtils.formatNumber(np.average(data.dqy_data)/abd(data.qy_data)*100., high=True) 
     402                dq_l = GuiUtils.formatNumber(np.average(data.dqx_data/np.abs(data.qx_data))*100., high=True) 
     403                dq_r = GuiUtils.formatNumber(np.average(data.dqy_data/np.abs(data.qy_data))*100., high=True) 
    404404                return smear_type, dq_l, dq_r 
    405405            else: 
Note: See TracChangeset for help on using the changeset viewer.