Changeset da33725 in sasmodels for sasmodels/sesans.py


Ignore:
Timestamp:
Mar 31, 2019 4:17:27 AM (6 years ago)
Author:
awashington
Branches:
master
Children:
f64b154
Parents:
1c8ff89
Message:

Fix order of operations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sesans.py

    r1c8ff89 rda33725  
    7575        H *= (dq * q / (2*pi)).reshape((-1, 1)) 
    7676 
    77         reptheta = np.outer(q, lam/2*pi) 
     77        reptheta = np.outer(q, lam/(2*pi)) 
    7878        np.arcsin(reptheta, out=reptheta) 
    7979        mask = reptheta > zaccept 
Note: See TracChangeset for help on using the changeset viewer.