Ignore:
Timestamp:
Mar 20, 2020 7:57:36 PM (3 years ago)
Author:
vondreele
Message:

Add end-of-life warning for python 2.7
small fix for mag str. fctr calc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrMath.py

    r4370 r4377  
    16011601        if 'N' in calcControls[hfx+'histType'] and parmDict[pfx+'isMag']:       #TODO: mag math here??           
    16021602           
    1603             phasem = twopi*np.inner(HP.T,mXYZ)    #2pi(Q.r)
    1604             phasem = np.swapaxes(phasem,1,2)            #Nref,Nops,Natm
     1603            phasem = twopi*np.inner(mXYZ,HP.T).T    #2pi(Q.r)
    16051604            cosm = np.cos(phasem)
    16061605            sinm = np.sin(phasem)
Note: See TracChangeset for help on using the changeset viewer.